Skip to content

Commit

Permalink
003
Browse files Browse the repository at this point in the history
  • Loading branch information
gitofanindya committed Nov 20, 2023
1 parent 3bf7738 commit dc963ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/functional/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ def func(*args):
drive_api = QMLDriveApi(app)

with manager:
with patch.object(engine, "disk_space", new=func):
from nxdrive import utils

with patch.object(utils, "disk_space", new=func):
returned_val = drive_api.get_disk_space_info_to_width()
assert not returned_val

0 comments on commit dc963ae

Please sign in to comment.