summaryrefslogtreecommitdiffstats
path: root/tests/units/test_0003_post_wol.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/test_0003_post_wol.py')
-rw-r--r--tests/units/test_0003_post_wol.py4
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 a9a2d42..fae6fa4 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', 'netmask':'255.255.255.0',
- 'mac' : '00AABBCCDD01' } ] }
+ self.json = { 'type' : 'broadcast',
+ 'clients' : [ '192.168.2.1', '192.168.2.2' ] }
def test_post(self):
returned = requests.post(self.url, headers=self.headers, json=self.json)