From fc7579f1b4a0368e41ac7c4b990480bc9a401f27 Mon Sep 17 00:00:00 2001 From: awlx Date: Tue, 29 Nov 2016 10:24:29 +0100 Subject: [PATCH] Added mockdata --- test/unit/conftest.py | 1 + test/unit/mocked_data/test_is_alive/normal/expected_result.json | 1 + 2 files changed, 2 insertions(+) create mode 100644 test/unit/mocked_data/test_is_alive/normal/expected_result.json diff --git a/test/unit/conftest.py b/test/unit/conftest.py index f7d99fb..5ff70d2 100644 --- a/test/unit/conftest.py +++ b/test/unit/conftest.py @@ -43,6 +43,7 @@ class PatchedDriver(OriginalDriver): def is_alive(self): return({'is_alive': True}) + class FakeDevice(BaseTestDouble): """Device test double.""" diff --git a/test/unit/mocked_data/test_is_alive/normal/expected_result.json b/test/unit/mocked_data/test_is_alive/normal/expected_result.json new file mode 100644 index 0000000..43b92ac --- /dev/null +++ b/test/unit/mocked_data/test_is_alive/normal/expected_result.json @@ -0,0 +1 @@ +{"is_alive": true}