def test_model_and_field(self): model, field = parse_model_specifier('tests.TestModel.image') assert model == TestModel assert field == 'image'
def test_model_and_field(self): model, field = parse_model_specifier('tests.TestModel.image') assert model == TestModel assert field == 'image'
def test_model(self): model, field = parse_model_specifier('tests.TestModel') assert model == TestModel assert not field
def test_model(self): model, field = parse_model_specifier('tests.TestModel') assert model == TestModel assert not field