diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/units/test_0003_post_wol.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/test_0003_post_wol.py b/tests/units/test_0003_post_wol.py index cbb2fd1..a3750f2 100644 --- a/tests/units/test_0003_post_wol.py +++ b/tests/units/test_0003_post_wol.py @@ -6,8 +6,8 @@ class TestPostWolMethods(unittest.TestCase): def setUp(self): self.url = 'http://localhost:8888/wol' self.headers = {'Authorization' : '07b3bfe728954619b58f0107ad73acc1'} - self.json = { 'type' : 'broadcast', 'clients' : { 'addr' : '192.168.2.1', - 'mac' : '00AABBCCDD01' } } + self.json = { 'type' : 'broadcast', 'clients' : [ { 'addr' : '192.168.2.1', + 'mac' : '00AABBCCDD01' } ] } def test_post(self): returned = requests.post(self.url, headers=self.headers, json=self.json) |