コード例 #1
0
    def test_setattr(self):
        m = BaseModel()
        m.foo = "bar"

        assert m.data["foo"] == "bar"
コード例 #2
0
ファイル: test_models.py プロジェクト: jmvrbanac/symantecssl
    def test_setattr(self):
        m = BaseModel()
        m.foo = "bar"

        assert m.data["foo"] == "bar"