summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Crespo Quinta <diegocrespodcq98@gmail.com>2021-03-22 21:23:07 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-03-23 01:41:33 +0100
commit1c2a0cad8b44757b6d1cb3c48527a757748e8978 (patch)
treeeb59c5d4e4d1468a182a0593ed3aa11e50dd6b4e
parentab32ed87c44d5416e216b62cdcbcf09fe62f7cbb (diff)
Fix GET /hardware test url
-rw-r--r--tests/units/test_0027_get_hardware.py4
1 files changed, 2 insertions, 2 deletions
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)