summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-07-16 13:35:34 +0000
committerJürg Billeter <j@bitron.ch>2019-07-16 15:36:37 +0200
commit7e9d42e4f110601642551939706f0d723f28a34d (patch)
treed6e63f2e28c5635e612c8ba50b1c319be25ee37f
parent9a7bf4b3d2978f79026e9b72873a6215f6d25c0c (diff)
downloadbuildstream-7e9d42e4f110601642551939706f0d723f28a34d.tar.gz
tests/sourcecache: Fix typos in comments
Spotted by Darius.
-rw-r--r--tests/sourcecache/fetch.py2
-rw-r--r--tests/sourcecache/push.py2
-rw-r--r--tests/sourcecache/staging.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/sourcecache/fetch.py b/tests/sourcecache/fetch.py
index 015ed8af9..99c00f120 100644
--- a/tests/sourcecache/fetch.py
+++ b/tests/sourcecache/fetch.py
@@ -210,7 +210,7 @@ def test_pull_fail(cli, tmpdir, datafiles):
# remove files and check that it doesn't build
shutil.rmtree(repo.repo)
- # Should fail in stream, with a plugin tasks causing the error
+ # Should fail in stream, with a plugin task causing the error
res = cli.run(project=project_dir, args=['build', 'push.bst'])
res.assert_main_error(ErrorDomain.STREAM, None)
res.assert_task_error(ErrorDomain.PLUGIN, None)
diff --git a/tests/sourcecache/push.py b/tests/sourcecache/push.py
index 3fe6d78f7..b0fae616e 100644
--- a/tests/sourcecache/push.py
+++ b/tests/sourcecache/push.py
@@ -91,7 +91,7 @@ def test_source_push(cli, tmpdir, datafiles):
sourcecache = context.sourcecache
assert sourcecache.contains(source)
- # check that's the remote CAS now has it
+ # check that the remote CAS now has it
digest = sourcecache.export(source)._get_digest()
assert share.has_object(digest)
diff --git a/tests/sourcecache/staging.py b/tests/sourcecache/staging.py
index 6f812ee9c..186a4bd9f 100644
--- a/tests/sourcecache/staging.py
+++ b/tests/sourcecache/staging.py
@@ -105,7 +105,7 @@ def test_source_fetch(tmpdir, cli, datafiles):
source = list(element.sources())[0]
assert element._source_cached()
- # check that the directory structures are idetical
+ # check that the directory structures are identical
digest = sourcecache.export(source)._get_digest()
extractdir = os.path.join(str(tmpdir), "extract")
cas.checkout(extractdir, digest)