@@ -25,7 +25,7 @@ class Tests(unittest.TestCase):
25
25
26
26
def test_get_all (self ):
27
27
with patch (
28
- "pynetbox.core.query. requests.sessions.Session.get" ,
28
+ "requests.sessions.Session.get" ,
29
29
return_value = Response (fixture = "{}/{}.json" .format (self .app , self .name )),
30
30
) as mock :
31
31
ret = getattr (nb , self .name ).all ()
@@ -43,7 +43,7 @@ def test_get_all(self):
43
43
44
44
def test_filter (self ):
45
45
with patch (
46
- "pynetbox.core.query. requests.sessions.Session.get" ,
46
+ "requests.sessions.Session.get" ,
47
47
return_value = Response (fixture = "{}/{}.json" .format (self .app , self .name )),
48
48
) as mock :
49
49
ret = getattr (nb , self .name ).filter (name = "test" )
@@ -61,7 +61,7 @@ def test_filter(self):
61
61
62
62
def test_get (self ):
63
63
with patch (
64
- "pynetbox.core.query. requests.sessions.Session.get" ,
64
+ "requests.sessions.Session.get" ,
65
65
return_value = Response (
66
66
fixture = "{}/{}.json" .format (self .app , self .name [:- 1 ])
67
67
),
@@ -83,7 +83,7 @@ class UsersTestCase(Generic.Tests):
83
83
name = "users"
84
84
85
85
@patch (
86
- "pynetbox.core.query. requests.sessions.Session.get" ,
86
+ "requests.sessions.Session.get" ,
87
87
return_value = Response (fixture = "users/user.json" ),
88
88
)
89
89
def test_repr (self , _ ):
0 commit comments