Skip to content

Commit

Permalink
remove not needed test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgineer85 committed Nov 3, 2024
1 parent 0fc576a commit 6f9c882
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tests/tests/test_application_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
"""

import logging
import os
from unittest.mock import patch

import pytest

logger = logging.getLogger(name=None)

Expand All @@ -21,12 +17,3 @@ def test_main_instance():
import wigglecam.__main__

wigglecam.__main__.main(False)


def test_main_instance_create_dirs_permission_error():
from wigglecam.__main__ import create_basic_folders

with patch.object(os, "makedirs", side_effect=RuntimeError("effect: failed creating folder")):
# emulate write access issue and ensure an exception is received to make the app fail starting.
with pytest.raises(RuntimeError):
create_basic_folders()

0 comments on commit 6f9c882

Please sign in to comment.