From 64b470514bed3d5e30a85356798f7666ad2be4e3 Mon Sep 17 00:00:00 2001 From: Roberto Hueso Gómez Date: Tue, 5 Nov 2019 10:26:44 +0100 Subject: #915 Fix ogAdmServer POST /software test parameters This patch adds missing parameters to the test JSON. --- tests/units/test_0012_post_software.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/units/test_0012_post_software.py b/tests/units/test_0012_post_software.py index 049a3ec..1b41a86 100644 --- a/tests/units/test_0012_post_software.py +++ b/tests/units/test_0012_post_software.py @@ -6,7 +6,9 @@ class TestPostSoftwareMethods(unittest.TestCase): def setUp(self): self.url = 'http://localhost:8888/software' self.headers = {'Authorization' : '07b3bfe728954619b58f0107ad73acc1'} - self.json = { 'clients' : [ '192.168.2.1', '192.168.2.2' ] } + self.json = { 'clients' : [ '192.168.2.1', '192.168.2.2' ], + 'disk' : '0', + 'partition' : '1' } def test_post(self): returned = requests.post(self.url, headers=self.headers, json=self.json) -- cgit v1.2.3-18-g5258