Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run tests locally without mapillary_messi #365

Closed
Jakuje opened this issue Apr 18, 2020 · 1 comment
Closed

Unable to run tests locally without mapillary_messi #365

Jakuje opened this issue Apr 18, 2020 · 1 comment

Comments

@Jakuje
Copy link

@Jakuje Jakuje commented Apr 18, 2020

Basic information

  • Release version: master
  • System: Linux
  • Capture Device: Action Camera

(but neither above matters)

Steps to reproduce behavior

  1. Run python3 setup.py test

Expected behavior

The tests are executed and changes are verified.

Actual behavior

test_process_images_provider (unittest.loader._FailedTest) ... ERROR
tests.integration.mapillary_tools_process_images_provider.test_process_images_provider (unittest.loader._FailedTest) ... ERROR

======================================================================
ERROR: test_process_images_provider (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_process_images_provider
Traceback (most recent call last):
  File "/usr/lib64/python3.7/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/home/jjelen/devel/mapillary_tools/tests/integration/mapillary_tools_process_images_provider/test_process_images_provider.py", line 6, in <module>
    from mapillary_messi.assertions.harvest_assertions import HarvestAssertion
ModuleNotFoundError: No module named 'mapillary_messi'


======================================================================
ERROR: tests.integration.mapillary_tools_process_images_provider.test_process_images_provider (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.integration.mapillary_tools_process_images_provider.test_process_images_provider
Traceback (most recent call last):
  File "/usr/lib64/python3.7/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib64/python3.7/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/jjelen/devel/mapillary_tools/tests/integration/mapillary_tools_process_images_provider/test_process_images_provider.py", line 6, in <module>
    from mapillary_messi.assertions.harvest_assertions import HarvestAssertion
ModuleNotFoundError: No module named 'mapillary_messi'


----------------------------------------------------------------------
Ran 2 tests in 0.000s

FAILED (errors=2)
Test failed: <unittest.runner.TextTestResult run=2 errors=2 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=2 errors=2 failures=0>
@ptpt ptpt mentioned this issue Feb 23, 2021
1 task
@ptpt
Copy link
Member

@ptpt ptpt commented Feb 25, 2021

It should be fixed. To run the latest tests see https://github.com/mapillary/mapillary_tools#development

@ptpt ptpt closed this as completed Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants