예제 #1
0
    def test_wrapper_getter(self):
        gg = GoldGetter()
        gg._golds = {}
        gg.all()

        print(gg.getters)
        assert callable(gg.getters[0])
예제 #2
0
    def test_wrapper_golds_to_None(self):
        gg = GoldGetter()
        gg._golds = {}
        gg.all()

        assert gg._golds is None