David Stainton
|
af10ab43ee
|
Daira's fix during session with David and Meejah.
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
71e3164e92
|
Further work in progress refinements to unit tests
wip from pairing with Daira and Meejah
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
9483d24f67
|
Fix cleanup after test_periodic_full_scan.
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
2dabd8a10b
|
Work in progress on fixing test_periodic_full_scan.
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
5380ff8f5a
|
Clean up queue loging and add a clock advance in unit test
not yet working
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
e1822c0518
|
WIP
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
cf462d8b1f
|
Attempt to test periodic uploader full scan
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
cc721505e7
|
Add magic-folder test_scan_once_on_startup
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
cb6291e93c
|
Various test cleanups.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
3074b687be
|
Teach join twice test to test for proper stdout and stderr values
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
74ad656e39
|
More thorough checks to the join leave join test
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
966c556562
|
Fix test_join_leave_join
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
1c3c9df492
|
Add more magic-folder join leave tests
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
24aa74bf53
|
Add unit test for join twice failure
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
9d7785f57b
|
Fix magic folder constructor signature in test
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
68539e3fe0
|
Fix tests usage of umask
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
f2a7978b29
|
Add download.umask config option with default of 077
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
623ed3516e
|
Add umask to Downloader
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
7b9c89c6f4
|
remove magic_folder from config in test
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
79f3c5d81a
|
Remove magic-folder exclude stat
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
6b4d3b8c6d
|
Refactor is_new_file.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
meejah
|
0aaabe0ebe
|
remove print
|
2016-07-21 12:35:59 -07:00 |
|
meejah
|
ed4e4d053e
|
Add a unit-test and correct the code for "already deleted"
If a Downloader decides that it needs to delete a file, but that
file is already gone locally, the exeption is caugt and a log message
produced.
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
49b5661347
|
Fix test: previously we accounted for the propagation of the conflict
because alice scaned her own dmd... whereas now she does not.
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
eab24d022b
|
Fix test helper _check_version_in_local_db
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
bca4c87e47
|
WIP
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
6eeab03b70
|
Create test for last upload uri conflict
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
6402159106
|
Fix an unused import.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
868c38d228
|
Workaround.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
3fab5caa02
|
test_encodingutil: fixes for Unix.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
583066b364
|
Fix test_errors.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
9646a3ce3e
|
Fix test_move_tree.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
0c12162bc8
|
Debugging WIP.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
b53efdbf8b
|
Fix a corner case for to_filepath on Windows to make it consistent with Unix.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
b9eb8932b6
|
test_encodingutil: add tests for FilePath-related functions.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
a5b9cf36b8
|
Fix unused import.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
f77c593177
|
Add test for 'tahoe create-node/client/introducer' output. closes ticket:2556
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
d1eb64c01b
|
bin\tahoe can't be run directly on Windows.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
a6842946ca
|
Fix a type error.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
0e19636146
|
Flush handling WIP.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
5e9792f8d7
|
Use fileutil.write for magic folder tests.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
c20cf843eb
|
Fix fileutil tests.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
dacf6ef633
|
More path fixes.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
f12ac3d94e
|
Fix a test broken by the last commit.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
6fb7f86855
|
Don't use a long path for the [magic_folder]local.directory field.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
2a79252a72
|
Fix some path Unixisms.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
45adc30ed6
|
Fix test_alice_bob.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
Daira Hopwood
|
e591c3aa81
|
Refactor _check_up/downloader_count.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
a043a31860
|
Add file conflict unit test
|
2016-07-21 12:35:59 -07:00 |
|
David Stainton
|
99d1339d38
|
Add basic bob upload test and fix conflict detect
|
2016-07-21 12:35:59 -07:00 |
|