summaryrefslogtreecommitdiff
path: root/tests/sources/local.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sources/local.py')
-rw-r--r--tests/sources/local.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/sources/local.py b/tests/sources/local.py
index c494e2671..7df1cd9ea 100644
--- a/tests/sources/local.py
+++ b/tests/sources/local.py
@@ -82,7 +82,7 @@ def test_stage_file(cli, tmpdir, datafiles):
result.assert_success()
# Check that the checkout contains the expected file
- assert(os.path.exists(os.path.join(checkoutdir, 'file.txt')))
+ assert os.path.exists(os.path.join(checkoutdir, 'file.txt'))
@pytest.mark.datafiles(os.path.join(DATA_DIR, 'directory'))
@@ -97,8 +97,8 @@ def test_stage_directory(cli, tmpdir, datafiles):
result.assert_success()
# Check that the checkout contains the expected file and directory and other file
- assert(os.path.exists(os.path.join(checkoutdir, 'file.txt')))
- assert(os.path.exists(os.path.join(checkoutdir, 'subdir', 'anotherfile.txt')))
+ assert os.path.exists(os.path.join(checkoutdir, 'file.txt'))
+ assert os.path.exists(os.path.join(checkoutdir, 'subdir', 'anotherfile.txt'))
@pytest.mark.datafiles(os.path.join(DATA_DIR, 'symlink'))
@@ -122,9 +122,9 @@ def test_stage_symlink(cli, tmpdir, datafiles):
result.assert_success()
# Check that the checkout contains the expected file and directory and other file
- assert(os.path.exists(os.path.join(checkoutdir, 'file.txt')))
- assert(os.path.exists(os.path.join(checkoutdir, 'symlink-to-file.txt')))
- assert(os.path.islink(os.path.join(checkoutdir, 'symlink-to-file.txt')))
+ assert os.path.exists(os.path.join(checkoutdir, 'file.txt'))
+ assert os.path.exists(os.path.join(checkoutdir, 'symlink-to-file.txt'))
+ assert os.path.islink(os.path.join(checkoutdir, 'symlink-to-file.txt'))
@pytest.mark.datafiles(os.path.join(DATA_DIR, 'file-exists'))
@@ -152,6 +152,6 @@ def test_stage_directory_symlink(cli, tmpdir, datafiles):
result.assert_success()
# Check that the checkout contains the expected directory and directory symlink
- assert(os.path.exists(os.path.join(checkoutdir, 'subdir', 'anotherfile.txt')))
- assert(os.path.exists(os.path.join(checkoutdir, 'symlink-to-subdir', 'anotherfile.txt')))
- assert(os.path.islink(os.path.join(checkoutdir, 'symlink-to-subdir')))
+ assert os.path.exists(os.path.join(checkoutdir, 'subdir', 'anotherfile.txt'))
+ assert os.path.exists(os.path.join(checkoutdir, 'symlink-to-subdir', 'anotherfile.txt'))
+ assert os.path.islink(os.path.join(checkoutdir, 'symlink-to-subdir'))