You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2021/12/21 15:07:38 UTC
[incubator-ponymail-foal] branch master updated: Better location for server test files
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
The following commit(s) were added to refs/heads/master by this push:
new f4d5891 Better location for server test files
f4d5891 is described below
commit f4d58912837193b309b1968cc98ae7bba2b97468
Author: Sebb <se...@apache.org>
AuthorDate: Tue Dec 21 15:07:19 2021 +0000
Better location for server test files
[They are not unit test files]
---
{test => server/test}/testauth.py | 5 +++--
{test => server/test}/testauth.yaml | 0
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/test/testauth.py b/server/test/testauth.py
similarity index 95%
rename from test/testauth.py
rename to server/test/testauth.py
index dea784e..ed693a7 100644
--- a/test/testauth.py
+++ b/server/test/testauth.py
@@ -19,8 +19,9 @@
Simple endpoint that does a local login
To enable:
-- copy the files test/testauth.[py|.yaml] to the server/endpoints directory
- They can be renamed if necessary, so long as they have the same basename
+- copy the files server/test/testauth.[py|.yaml] to the server/endpoints directory
+ They can be renamed if necessary, so long as they have the same basename;
+ adjust the URLs below to reflect the new name
- then add the following to config.js under pm_config.oauth:
test: {
diff --git a/test/testauth.yaml b/server/test/testauth.yaml
similarity index 100%
rename from test/testauth.yaml
rename to server/test/testauth.yaml