Skip to content

Commit

Permalink
CU-8694gzbn3: Re-allow in-memory state tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mart-r committed May 15, 2024
1 parent 77fae58 commit df5c4ef
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/utils/test_cdb_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from medcat.cat import CAT


@unittest.skipIf(True, "Let's see if this works on GHA") # TODO - remove
class StateTests(unittest.TestCase):

@classmethod
Expand All @@ -34,7 +33,6 @@ def do_smth_for_each_state_var(cls, cdb: CDB, callback: Callable[[str, Any], Non
callback(k, v)


@unittest.skipIf(True, "Let's see if this works on GHA") # TODO - remove
class StateSavedTests(StateTests):
on_disk = False

Expand Down Expand Up @@ -94,7 +92,6 @@ def test_saved_on_disk(self):
mock.call(self.temp_file_name, 'rb')])


@unittest.skipIf(True, "Let's see if this works on GHA") # TODO - remove
class StateWithTrainingTests(StateTests):
SUPERVISED_TRAINING_JSON = os.path.join(os.path.dirname(__file__), "..", "resources", "medcat_trainer_export.json")

Expand All @@ -108,7 +105,6 @@ def setUpClass(cls) -> None:
cls.restored_state = copy_cdb_state(cls.cdb)


@unittest.skipIf(True, "Let's see if this works on GHA") # TODO - remove
class StateRestoredAfterTrain(StateWithTrainingTests):

def test_train_state_changed(self):
Expand Down

0 comments on commit df5c4ef

Please sign in to comment.