Exemplo n.º 1
0
    def test_accessor(self):
        tag = Tag()

        tag.name = "xyz"
        eq_("xyz", tag.name)

        tag.color = "abc"
        eq_("abc", tag.color)
Exemplo n.º 2
0
    def test_accessor(self):
        tag = Tag()

        tag.name = "xyz"
        eq_("xyz", tag.name)

        tag.color = "abc"
        eq_("abc", tag.color)
Exemplo n.º 3
0
    def test_accessor(self):
        tag = Tag()

        tag.name = "xyz"
        eq_("xyz", tag.name)
Exemplo n.º 4
0
def test_accessor():
    tag = Tag()
    tag.name = "xyz"
    eq_(tag.name, "xyz")