

def test_tag_creation(self):
    tag = Tag(name='node.js')
    self.assertTrue((tag.id is None))
    db.session.add(tag)
    db.session.commit()
    self.assertTrue((self.id >= 1))

dataset/ETHPy150Open brijeshb42/yapper/tests/PostTest/test_add_tag.py TagAddTestCase.test_tag_creation/VarMisuse@54/63 `tag`->`self`