Example #1
0
 def test_remove(self):
     user_manager.remove_user(1)
     self.assertEqual(user_manager.user_count(), 1)
Example #2
0
 def test_clear(self):
     user_manager.clear()
     self.assertEqual(user_manager.user_count(), 0)
Example #3
0
 def test_count(self):
     self.assertEqual(user_manager.user_count(), 2)