Commit 25cba724 authored by Swergas's avatar Swergas

create automated tests infrastructure using python, pip, unittest and...

create automated tests infrastructure using python, pip, unittest and selenium. Especially replacing sendmail by a mock that prints its input into a file, and test setUp and tearDown functions that run/kill the demo server, clean the database, and replace sendmail by its mock. Implement first part of test scenario 1, that is creating the election
parent 9f39988d
# Tools for automated tests
selenium==3.14.0
\ No newline at end of file
This diff is collapsed.
#!/bin/bash
exec >> /tmp/sendmail_fake
while IFS= read -r line; do
printf '%s\n' "$line"
done
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment