def test_has_group(): fields = ModelDataFields() fields.new_field_location('node', 12) assert_true(fields.has_group('node')) assert_false(fields.has_group('cell'))
def test_has_group(self): fields = ModelDataFields() fields.new_field_location('node', 12) self.assertTrue(fields.has_group('node')) self.assertFalse(fields.has_group('cell'))
def test_has_group(): fields = ModelDataFields() fields.new_field_location('node', 12) assert_true(fields.has_group('node')) assert_false(fields.has_group('cell'))
def test_has_group(): fields = ModelDataFields() fields.new_field_location("node", 12) assert_true(fields.has_group("node")) assert_false(fields.has_group("cell"))