Commit graph

9 commits

Author SHA1 Message Date
Jakub Kadlcik
60c3bc46b8 Use fixed port number for our python tests
Randomly generated port numbers worked just find on developer's
machines but Koji have issues with some of the numbers. Let's not
burn hours trying to figure out which ports work and which doesn't
and just settle on one fixed number. It is more deterministic and
reproducible anyway.
2020-05-25 01:10:33 +02:00
Jakub Kadlcik
2368a283a8 Run tests within spec %check phase 2020-05-11 15:47:57 +02:00
Jakub Kadlcik
104a272130 tests: use an appropriate imports and shebang in python3 2020-05-11 15:47:57 +02:00
Jakub Kadlcik
9dceb5baa1 tests: use the correct path to upload.cgi script 2020-05-11 12:08:52 +02:00
Jakub Kadlcik
6a42424c6a tests: in real-life usage, REQUEST_URI will exist 2020-05-11 12:08:52 +02:00
Jakub Kadlcik
6ddb5115d5 tests: polish the asserted output messages 2020-05-11 12:08:52 +02:00
Jakub Kadlcik
2a79155be6 tests: override shebang to python2 2020-05-11 12:08:52 +02:00
Jakub Kadlcik
982fe628f6 tests: generate config file 2020-05-11 12:08:52 +02:00
Jakub Kadlcik
9cb830b23f Add tests for upload.cgi script
Moving this test file from Red Hat's internal distgit package
to upstream. This is a 1:1 copy without any changes,
so the tests will fail. I just want a point in commit history
where the file is identical and we can easily see changes that
were done since then.
2020-05-11 12:08:52 +02:00