Skip to content

Commit

Permalink
NXDRIVE-2889: Display system notification for document review
Browse files Browse the repository at this point in the history
  • Loading branch information
swetayadav1 committed Mar 19, 2024
1 parent 8557589 commit d01a702
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions tests/functional/test_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ def test_workflow(manager_factory):

manager.app = Application(manager)

assert workflow_worker._poll()


# This test is commented because it causes other ft tests to fails
# @Options.mock()
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/test_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ def test_filtered_task(workflow, engine, task, remote):
def test_fetch_document(workflow, engine, task, remote):
remote.documents.get = Mock(path="/doc_path/doc.txt")
engine.send_task_notification = Mock()
assert workflow.fetch_document(workflow, [task], engine) is None
workflow.fetch_document(workflow, [task], engine)

# No response from remote.documents.get
remote.documents.get = Mock(return_value=None)
assert workflow.fetch_document(workflow, [task], engine) is None
workflow.fetch_document(workflow, [task], engine)

0 comments on commit d01a702

Please sign in to comment.