Skip to content

Commit 6a4805b

Browse files
committed
Moving test_CodeEntropy_imported into tests/test_main_mcc.py instead of a standalone file
1 parent 1d8bc75 commit 6a4805b

2 files changed

Lines changed: 5 additions & 15 deletions

File tree

tests/test_EntropyFunctions/test_main_mcc.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import os
22
import shutil
3+
import sys
34
import tempfile
45
import unittest
56
from unittest.mock import MagicMock, mock_open, patch
@@ -60,6 +61,10 @@ def setup_file(self, mock_file):
6061
"waterEntropy: False"
6162
).return_value
6263

64+
def test_CodeEntropy_imported(self):
65+
"""Sample test, will always pass so long as import statement worked."""
66+
assert "CodeEntropy" in sys.modules
67+
6368
@patch(
6469
"builtins.open",
6570
new_callable=mock_open,

tests/test_main.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)