def test_basemixin_update_notification(self): obj = BaseMixin() obj.model = TestView self.assertTrue(False) # TODO NOT IMPLEMENTED
def test_basemixin_dispatch(self): obj = BaseMixin() obj.model = TestView self.assertTrue(False) # TODO NOT IMPLEMENTED
def test_basemixin_update_workspace(self): obj = BaseMixin() obj.model = TestView self.assertTrue(False) # TODO NOT IMPLEMENTED
def test_basemixin_check_permissions(self): obj = BaseMixin() obj.model = TestView self.assertEqual(obj.check_permissions(), True)
def test_basemixin_write_session_data(self): obj = BaseMixin() obj.model = TestView self.assertTrue(False) # TODO NOT IMPLEMENTED
def test_basemixin_get_permissions1(self): obj = BaseMixin() obj.model = TestView self.assertEqual(obj.get_permissions(), []) self.assertEqual(obj.get_permissions(['test']), ['test'])
def test_basemixin_get_permissions2(self): obj = BaseMixin() obj.model = TestView obj.permissions = ['test2'] self.assertEqual(obj.get_permissions(), ['test2']) self.assertEqual(obj.get_permissions(['test']), ['test','test2'])
def test_basemixin_get_permissions2(self): obj = BaseMixin() obj.model = TestView obj.permissions = ['test2'] self.assertEqual(obj.get_permissions(), ['test2']) self.assertEqual(obj.get_permissions(['test']), ['test', 'test2'])