Fix affected test cases
diff --git a/tests/project/project.py b/tests/project/project.py index f4c5b3e..c8f7909 100644 --- a/tests/project/project.py +++ b/tests/project/project.py
@@ -29,7 +29,7 @@ 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 43a64a0..a3649a8 100644 --- a/tests/sources/git.py +++ b/tests/sources/git.py
@@ -80,9 +80,9 @@ 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)