diff options
author | Micah Lee <micah@micahflee.com> | 2022-01-17 11:11:35 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2022-01-17 11:11:35 -0800 |
commit | 7b50d6ecb32b1f02b036445929a125353405353d (patch) | |
tree | 226d6b5c724712817378d34858d97f9ddf8f1465 /cli/tests | |
parent | e7cba7be209cd415b6582f8706f1aeda1fd7752d (diff) | |
download | onionshare-7b50d6ecb32b1f02b036445929a125353405353d.tar.gz onionshare-7b50d6ecb32b1f02b036445929a125353405353d.zip |
Update onionshare_cli poetry deps, and fix tests
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/test_cli_web.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/test_cli_web.py b/cli/tests/test_cli_web.py index e93e3e33..f6076ef9 100644 --- a/cli/tests/test_cli_web.py +++ b/cli/tests/test_cli_web.py @@ -228,7 +228,7 @@ class TestWeb: data_dir_date = os.path.join(data_dir, os.listdir(data_dir)[0]) filenames = os.listdir(data_dir_date) assert len(filenames) == 2 - time_str = filenames[0][0:6] + time_str = filenames[0][0:12] assert time_str in filenames assert f"{time_str}-message.txt" in filenames data_dir_time = os.path.join(data_dir_date, time_str) @@ -260,7 +260,7 @@ class TestWeb: data_dir_date = os.path.join(data_dir, os.listdir(data_dir)[0]) filenames = os.listdir(data_dir_date) assert len(filenames) == 1 - time_str = filenames[0][0:6] + time_str = filenames[0][0:12] assert time_str in filenames assert f"{time_str}-message.txt" not in filenames data_dir_time = os.path.join(data_dir_date, time_str) |