summaryrefslogtreecommitdiff
path: root/morphlib
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-02-12 16:18:45 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-02-13 15:39:37 +0000
commit2c9ad8890860f47d03433405c57f33f514fcd456 (patch)
tree9c7f2e04f1ef474dea2fa1e644052bba90ef6afa /morphlib
parent4e50b8850f13bef14ec31710c31801330e41cc32 (diff)
downloadmorph-2c9ad8890860f47d03433405c57f33f514fcd456.tar.gz
Don't use repo or ref in test suite
Diffstat (limited to 'morphlib')
-rw-r--r--morphlib/morphloader_tests.py10
-rw-r--r--morphlib/morphologyfactory_tests.py2
2 files changed, 5 insertions, 7 deletions
diff --git a/morphlib/morphloader_tests.py b/morphlib/morphloader_tests.py
index 39923348..bd3e77e3 100644
--- a/morphlib/morphloader_tests.py
+++ b/morphlib/morphloader_tests.py
@@ -382,8 +382,6 @@ build-system: dummy
m['build-depends'] = [
{
- "repo": "foo",
- "ref": "foo",
"morph": "foo",
},
]
@@ -655,17 +653,19 @@ name: foo
self.loader.set_defaults(m)
self.loader.validate(m)
self.assertEqual(
- dict(m),
{
'kind': 'system',
'name': 'foo',
'description': '',
'arch': 'testarch',
'strata': [
- {'morph': 'bar'},
+ {
+ 'morph': 'bar',
+ },
],
'configuration-extensions': [],
- })
+ },
+ dict(m))
def test_unsets_defaults_for_system(self):
m = morphlib.morph3.Morphology(
diff --git a/morphlib/morphologyfactory_tests.py b/morphlib/morphologyfactory_tests.py
index 30504e00..39092857 100644
--- a/morphlib/morphologyfactory_tests.py
+++ b/morphlib/morphologyfactory_tests.py
@@ -103,8 +103,6 @@ class FakeLocalRepo(object):
"kind": "stratum",
"build-depends": [
{
- "repo": "test:repo",
- "ref": "sha1",
"morph": "stratum"
}
],