slapos.client: fix trivial change in test.

parent da8b1d18
......@@ -80,7 +80,7 @@ class TestClient(unittest.TestCase):
def fake_get(software_product):
raise AttributeError()
self.product_collection.get = fake_get
self.product_collection.__getattr__ = fake_get
self.assertRaises(
SystemExit,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment