def test_State_attributes(self): ''' Test that State class contains the attribute `name`. ''' new_state = State() self.assertTrue("name" in new_state.__dir__())
def test_attr(self): """Tests State class 'name' attribute""" new = State() self.assertTrue("name" in new.__dir__())
def test_state_has_attributes(self): ''' Checks the state attributes exist ''' new_state = State() self.assertTrue('name' in new_state.__dir__())
def test_stateAttributes(self): '''test that State class contains the attribute name''' new_state = State() self.assertTrue("name" in new_state.__dir__())
def State_attributes(self): """Tests for States attributes""" state = State() self.assertTrue("name" in state.__dir__())