def test_all_data(self):
    self.assertIsInstance(self.supervisor, Supervisor, 'Sample does not return proper instance')
    self.assertTrue(hasattr(self.supervisor, 'username'), 'Instance does not have username')
    self.assertTrue(hasattr(self.supervisor, 'password'), 'Instance does not have password')
    self.assertTrue(hasattr(self.supervisor, 'phone_number'), 'Instance does not have phone_number')
    self.assertFalse(self.sample.logged_in, 'Login is not false by default')
def test_all_data(self):
    self.assertIsInstance(self.supervisor, Supervisor, 'Sample does not return proper instance')
    self.assertTrue(hasattr(self.supervisor, 'username'), 'Instance does not have username')
    self.assertTrue(hasattr(self.supervisor, 'password'), 'Instance does not have password')
    self.assertTrue(hasattr(self.supervisor, 'phone_number'), 'Instance does not have phone_number')
    self.assertFalse(self.sample.logged_in, 'Login is not false by default')