Beispiel #1
0
 def test_can_create_with_extra(self, session):
     r = Repo(self.p, **self.data)
     r.extra = dict(version="10.2.2")
     session.commit()
     repo = Repo.get(1)
     assert repo.extra['version'] == "10.2.2"
Beispiel #2
0
 def test_can_create_with_extra(self, session):
     r = Repo(self.p, **self.data)
     r.extra = dict(version="10.2.2")
     session.commit()
     repo = Repo.get(1)
     assert repo.extra['version'] == "10.2.2"