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