Esempio n. 1
0
 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_State_attributes(self):
     '''
         Test that State class contains the attribute `name`.
     '''
     new_state = State()
     self.assertTrue("name" in new_state.__dir__())
Esempio n. 3
0
    def test_attr(self):
        """Tests State class 'name' attribute"""

        new = State()
        self.assertTrue("name" in new.__dir__())
Esempio n. 4
0
 def test_state_has_attributes(self):
     '''
     Checks the state attributes exist
     '''
     new_state = State()
     self.assertTrue('name' in new_state.__dir__())
Esempio n. 5
0
 def test_stateAttributes(self):
     '''test that State class contains the attribute name'''
     new_state = State()
     self.assertTrue("name" in new_state.__dir__())
Esempio n. 6
0
 def State_attributes(self):
     """Tests for States attributes"""
     state = State()
     self.assertTrue("name" in state.__dir__())