1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Commit Graph

16 Commits

Author SHA1 Message Date
Dimitri Huisman
3493e9ffa9 Doh! 2022-08-19 20:32:53 +00:00
Dimitri Huisman
867c71ca83 Fix date (deadline) calculation and comparison in test.py 2022-08-19 20:24:07 +00:00
Dimitri Huisman
9339ce78e8 Fix datetime usage in test.py 2022-08-19 18:57:58 +00:00
Florent Daigniere
72b8939ad7 doh 2022-08-19 20:25:34 +02:00
Florent Daigniere
630a23da3c Don't wait for the timeout in the tests
If the containers are ready use them.
2022-08-19 20:04:45 +02:00
Ionut Filip
4032e7128d Calling email test as hook with msg as arg 2018-11-05 12:34:52 +02:00
Ionut Filip
fca3dc4e70 Flushing stream before calling subprocess 2018-11-03 19:34:47 +02:00
Ionut Filip
9a7fc1416a Replaces os.popen with subprocess.check_output 2018-11-03 19:15:05 +02:00
Ionut Filip
982e586e49 Replaced os.system calls with native python calls 2018-11-02 16:25:55 +02:00
Ionut Filip
fd8ed3dfa6 Moved certs copy in travis 2018-11-02 15:17:59 +02:00
Ionut Filip
88f5e6e4cf Moved users creation in core 2018-11-02 15:05:16 +02:00
Ionut Filip
c3bc7988c9 Implemented email test for travis 2018-11-02 14:27:46 +02:00
Ionut Filip
4e9dc0c3c9 Implemented sending/reading email(local tests) 2018-11-01 11:40:54 +02:00
Tim Möhlmann
a46d0fe581
Fix path for hooks 2018-10-25 18:45:24 +03:00
Tim Möhlmann
dde7ccca97
Created test cases from latest setup revision 2018-10-25 17:35:53 +03:00
Ionut Filip
3b1fdc6166 Migrate test script from shell to python
- test.py needs to be called with 2 arguments : test_name and timeout
  - it will cd to test_name dir and use the test_name.yml from there
  - it will sleep for an amount of time equals to timeout in minutes
- it will perform health checks for containers. If healtcheck isn't enabled will check for running state
- it will run hooks inside the test_name dir ( .py and .sh) if there are any
- printing logs in any case
2018-10-25 15:27:09 +03:00