Skip to content

Commit

Permalink
Update session fake in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hmpf committed Jul 2, 2024
1 parent 01b18e9 commit b10ddcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_zinolib_controllers_zino1.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def _setup_config(cls, config):
def _setup_request(session, config):
class FakeSession:
authenticated = True
connected = True

session.request = FakeSession() # needs to be truthy
session.push = True # needs to be truthy
Expand Down

0 comments on commit b10ddcd

Please sign in to comment.