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

        new = State()
        self.assertTrue("name" in new.__dir__())
Exemplo n.º 4
0
 def test_state_has_attributes(self):
     '''
     Checks the state attributes exist
     '''
     new_state = State()
     self.assertTrue('name' in new_state.__dir__())
Exemplo 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__())
Exemplo n.º 6
0
 def State_attributes(self):
     """Tests for States attributes"""
     state = State()
     self.assertTrue("name" in state.__dir__())