[tests] update repository tests with new `use_cwuri_as_url` attribute
This attribute was intriduced by changeset 92fd4b777016
--- a/server/test/unittest_repository.py Mon Jun 27 15:30:52 2011 +0200
+++ b/server/test/unittest_repository.py Mon Jun 27 18:38:08 2011 +0200
@@ -395,7 +395,10 @@
def test_public_api(self):
self.assertEqual(self.repo.get_schema(), self.repo.schema)
- self.assertEqual(self.repo.source_defs(), {'system': {'type': 'native', 'uri': 'system'}})
+ self.assertEqual(self.repo.source_defs(), {'system': {'type': 'native',
+ 'uri': 'system',
+ 'use-cwuri-as-url': False}
+ })
# .properties() return a result set
self.assertEqual(self.repo.properties().rql, 'Any K,V WHERE P is CWProperty,P pkey K, P value V, NOT P for_user U')