

def runTest(self):
    tag = Tag.objects.create(color=TEST_TAG_COLOR, label=TEST_TAG_LABEL)
    self.assertEqual(tag.label, TEST_TAG_LABEL)
    tag.assertEqual(tag.get_color_code(), 'red')

dataset/ETHPy150Open mayan-edms/mayan-edms/mayan/apps/tags/tests/test_models.py TagTestCase.runTest/VarMisuse@38/47 `self`->`tag`