Beispiel #1
0
    def test_accessor(self):
        tag = Tag()

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

        tag.color = "abc"
        eq_("abc", tag.color)
Beispiel #2
0
    def test_accessor(self):
        tag = Tag()

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

        tag.color = "abc"
        eq_("abc", tag.color)
Beispiel #3
0
    def test_accessor(self):
        tag = Tag()

        tag.name = "xyz"
        eq_("xyz", tag.name)
Beispiel #4
0
def test_accessor():
    tag = Tag()
    tag.name = "xyz"
    eq_(tag.name, "xyz")