示例#1
0
 def test_version_cannot_be_zero(self):
     app = App('id', version=0)
     with pytest.raises(ImproperlyConfigured):
         app.finalize()
示例#2
0
 def App(self, id='myid', **kwargs):
     app = App(id, **kwargs)
     app.finalize()
     return app