-
Couldn't load subscription status.
- Fork 20
Open
Description
I've rebased PR #15 with the latest master and got the results updated on Travis set up for my fork:
https://travis-ci.org/carlosperate/microfs/builds/526947291
There is an issue running the tests on Python 2.7:
https://travis-ci.org/carlosperate/microfs/jobs/526947292
============================= test session starts ==============================
platform linux2 -- Python 2.7.15, pytest-4.3.1, py-1.7.0, pluggy-0.8.0
rootdir: /home/travis/build/carlosperate/microfs, inifile:
plugins: cov-2.6.1
collected 40 items
tests/test_microfs.py ....F................................... [100%]
=================================== FAILURES ===================================
__________________ test_raw_on_failures_command_line_flag_on ___________________
def test_raw_on_failures_command_line_flag_on():
"""
If the COMMAND_LINE_FLAG is True, ensure the last data received is output
via the print statemen for debugging purposes.
"""
> with mock.patch('builtins.print') as mock_print, \
tests/test_microfs.py:161:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../../virtualenv/python2.7.15/lib/python2.7/site-packages/mock/mock.py:1353: in __enter__
self.target = self.getter()
../../../virtualenv/python2.7.15/lib/python2.7/site-packages/mock/mock.py:1523: in <lambda>
getter = lambda: _importer(target)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
target = 'builtins'
def _importer(target):
components = target.split('.')
import_path = components.pop(0)
> thing = __import__(import_path)
E ImportError: No module named builtins
../../../virtualenv/python2.7.15/lib/python2.7/site-packages/mock/mock.py:1206: ImportError
---------- coverage: platform linux2, python 2.7.15-final-0 ----------
Name Stmts Miss Cover Missing
------------------------------------------
microfs.py 176 1 99% 71
===================== 1 failed, 39 passed in 1.46 seconds ======================
Makefile:36: recipe for target 'coverage' failed
make: *** [coverage] Error 1
The command "make check" exited with 2.
Don't have the time to look into this right now, so logging here to look into later, or in case somebody else wants to give this a go :)
Metadata
Metadata
Assignees
Labels
No labels