Commit Graph

18 Commits

Author SHA1 Message Date
Micah Lee
3037727890
Format all code using black 2019-10-12 21:01:25 -07:00
Miguel Jacq
90ebc3aab4
Fix the discrepancy between SendBaseModeWeb and Web objects' separate cur_history_id attibutes, ensuring that when we call web.error404() we send a new history_id integer for communicating back to the frontend. Add tests for this 2019-09-09 16:35:05 +10:00
Miguel Jacq
8e238ab2d6
Fix tests in Receive Mode that actually do increment the history item widget count where they didn't previously (due to an additional GET that follows the 302 redirect of a POST request on upload) 2019-09-09 12:19:39 +10:00
Micah Lee
dc556d89f5
Make GuiReceiveTest.upload_test use basic auth when identical_files_at_once is True 2019-05-24 18:07:57 -07:00
Micah Lee
15d66c1a6f
Fix tests 2019-05-24 17:59:14 -07:00
Micah Lee
9785be0375
Replace URLs that have slugs with basic auth in tests 2019-05-24 13:38:41 -07:00
Micah Lee
4df989dc77
Rename slugs to passwords in the tests 2019-05-22 20:55:31 -07:00
Miguel Jacq
c411e8d61a
Standardise all shutdown_timer, shutdown_timeout, timeout attributes as 'autostop_timer' 2019-03-25 15:05:54 +11:00
Micah Lee
a9f3accf69
Merge pull request #935 from mig5/fix_receive_mode_folder_collision
On a folder name collision, make sure we update the self.receive_mode_dir attribute
2019-03-22 17:50:33 -07:00
Miguel Jacq
04fd65de11
On a folder name collision, make sure we update the self.receive_mode_dir attribute after creating a unique folder with a suffix. Adjust Receive Mode tests to test for this 2019-03-08 12:54:10 +11:00
Miguel Jacq
df657d8776
remove actual sender_closed test function 2019-02-22 16:53:51 +11:00
Micah Lee
6822c7435f
Write test to confirm that submitting the receive mode form without selecting files doesn't change in_progress_count or completed_count 2019-01-21 17:11:58 -08:00
Micah Lee
53ec2176c1
Fix tests to use data_dir setting instead of downloads_dir 2019-01-20 12:01:51 -08:00
Micah Lee
f5e0e9dd62
Fix tests so they recognize the new receive mode location 2018-10-26 15:08:55 -07:00
Miguel Jacq
a093d41102
More test coverage, particularly of Receive Mode 2018-10-17 15:21:04 +11:00
Miguel Jacq
c79eedd626
Add better workaround for blocking QDialogs. Add unreadable file test and reinstate tor connection killed test 2018-10-17 11:57:21 +11:00
Miguel Jacq
cc49589080
More coverage such as 404 ratelimit, large file tests. Standardise some method naming conventions and other fixes/cleanup 2018-10-16 13:01:44 +11:00
Miguel Jacq
10cdfa7631
Move GUI tests into tests/ dir and fix conftest related stuff so everything loads what it needs and passes 2018-10-13 10:35:09 +11:00