def test_wrapper_getter(self): gg = GoldGetter() gg._golds = {} gg.all() print(gg.getters) assert callable(gg.getters[0])
def test_wrapper_golds_to_None(self): gg = GoldGetter() gg._golds = {} gg.all() assert gg._golds is None