Skip to content

Commit 02654fb

Browse files
committed
test: mock session request
1 parent 1734a33 commit 02654fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/unit/test_pageiterator_no_paging.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ def test_no_paging_required():
1313
import sasctl
1414
assert not isinstance(sasctl.core.request, unittest.mock.Mock)
1515

16-
with mock.patch("sasctl.core.request") as req:
16+
with mock.patch("sasctl.core.Session.request") as req:
17+
# with mock.patch("sasctl.core.request") as req:
1718
req.reset_mock(side_effect=True)
1819
try:
1920
req.assert_not_called()

0 commit comments

Comments
 (0)