dictation-toolbox / natlinkcore

Other
4 stars 4 forks source link

test_loader failure (sometimes) #50

Closed quintijn closed 6 months ago

quintijn commented 1 year ago

When running the tests of natlinkcore via alltests.py, test_loader gives the following error:

empty_config = NatlinkConfig(directories_by_user={}, ...) logger = <Logger natlink (DEBUG)>

def test_empty_config_loader(empty_config, logger):
    main = NatlinkMain(logger, empty_config)
  assert main.module_paths_for_user == []

E AssertionError: assert [WindowsPath(...t.py'), ...] == [] E Left contains 29 more items, first extra item: WindowsPath('C:/Python310-32/lib/site-packages/vocola2/init__.py') E Use -v to get more diff

test_loader.py:75: AssertionError

When running only this module, things go well.

What could be the case here?

quintijn commented 6 months ago

This one seems to have solved at some time...