summaryrefslogtreecommitdiff
path: root/tests/sourcecache/source-checkout.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sourcecache/source-checkout.py')
-rw-r--r--tests/sourcecache/source-checkout.py15
1 files changed, 3 insertions, 12 deletions
diff --git a/tests/sourcecache/source-checkout.py b/tests/sourcecache/source-checkout.py
index 2d2e71565..f5096cefb 100644
--- a/tests/sourcecache/source-checkout.py
+++ b/tests/sourcecache/source-checkout.py
@@ -49,10 +49,7 @@ def test_source_checkout(tmpdir, datafiles, cli):
repo = create_element_size("target.bst", project_dir, element_path, [], 100000)
# check implicit fetching
- res = cli.run(
- project=project_dir,
- args=["source", "checkout", "--directory", target_dir, "target.bst"],
- )
+ res = cli.run(project=project_dir, args=["source", "checkout", "--directory", target_dir, "target.bst"],)
res.assert_success()
assert "Fetching from" in res.stderr
@@ -62,10 +59,7 @@ def test_source_checkout(tmpdir, datafiles, cli):
shutil.rmtree(target_dir)
shutil.rmtree(source_dir)
- res = cli.run(
- project=project_dir,
- args=["source", "checkout", "--directory", target_dir, "target.bst"],
- )
+ res = cli.run(project=project_dir, args=["source", "checkout", "--directory", target_dir, "target.bst"],)
res.assert_success()
assert "Fetching from" not in res.stderr
@@ -73,8 +67,5 @@ def test_source_checkout(tmpdir, datafiles, cli):
shutil.rmtree(target_dir)
shutil.rmtree(os.path.join(cache_dir, "cas"))
- res = cli.run(
- project=project_dir,
- args=["source", "checkout", "--directory", target_dir, "target.bst"],
- )
+ res = cli.run(project=project_dir, args=["source", "checkout", "--directory", target_dir, "target.bst"],)
res.assert_task_error(ErrorDomain.PLUGIN, None)