From 1c2a0cad8b44757b6d1cb3c48527a757748e8978 Mon Sep 17 00:00:00 2001 From: Diego Crespo Quinta Date: Mon, 22 Mar 2021 21:23:07 +0100 Subject: Fix GET /hardware test url --- tests/units/test_0027_get_hardware.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/units/test_0027_get_hardware.py b/tests/units/test_0027_get_hardware.py index 6a7ed16..51ae899 100644 --- a/tests/units/test_0027_get_hardware.py +++ b/tests/units/test_0027_get_hardware.py @@ -4,9 +4,9 @@ import unittest class TestGetHardwareMethods(unittest.TestCase): def setUp(self): - self.url = 'http://localhost:8888/session' + self.url = 'http://localhost:8888/hardware' self.headers = {'Authorization' : '07b3bfe728954619b58f0107ad73acc1'} - self.json = { 'client' : [ '192.168.2.1' ] } + self.json = { 'client' : ['192.168.56.11'] } def test_get(self): returned = requests.get(self.url, headers=self.headers, json=self.json) -- cgit v1.2.3-18-g5258