tests: Lots of fixes
Thanks to the great work done by Gökhan Göktürk.
This commit is contained in:
+1
-2
@@ -10,8 +10,7 @@ class UriTestCase(unittest.TestCase):
|
||||
unittest.TestCase.setUp(self)
|
||||
|
||||
def testSetUri(self):
|
||||
self.spec = SpecFile()
|
||||
self.url = uri.URI(self.spec.source.archive.uri)
|
||||
self.url = uri.URI()
|
||||
self.url.set_uri('uri')
|
||||
assert 'uri' == self.url.get_uri()
|
||||
self.url.set_uri('urix')
|
||||
|
||||
Reference in New Issue
Block a user