summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/project/project.py2
-rw-r--r--tests/sources/git.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/project/project.py b/tests/project/project.py
index f4c5b3ead..c8f7909f0 100644
--- a/tests/project/project.py
+++ b/tests/project/project.py
@@ -29,7 +29,7 @@ def test_missing_project_name(datafiles):
project = Project(directory, 'x86_64')
project._resolve(None)
- assert (exc.value.reason == LoadErrorReason.INVALID_DATA)
+ assert (exc.value.reason == LoadErrorReason.INVALID_YAML)
@pytest.mark.datafiles(os.path.join(DATA_DIR))
diff --git a/tests/sources/git.py b/tests/sources/git.py
index 43a64a0c8..a3649a863 100644
--- a/tests/sources/git.py
+++ b/tests/sources/git.py
@@ -80,9 +80,9 @@ class GitSubmoduleSetup(GitSetup):
if url:
template += " ref: {ref}\n"
- template += "submodules:\n" + \
- " subrepo:\n" + \
- " url: {subrepo}\n"
+ template += " submodules:\n" + \
+ " subrepo:\n" + \
+ " url: {subrepo}\n"
final = template.format(url=url, ref=ref, track=track, subrepo=self.subrepo_url)