mirror of https://git.48k.eu/ogserver
Fix GET /hardware test url
parent
ab32ed87c4
commit
1c2a0cad8b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue