Comments (3)
For completeness and future reference, without pytest-console-scripts
installed, I got the following two errors when I ran the unit tests:
=================================================================================================== ERRORS ====================================================================================================
____________________________________________________________________________________ ERROR at setup of test_run_task_null _____________________________________________________________________________________
file /afs/cern.ch/work/b/bkrikler/FAST/FAST-RA1/external/alphatwirl/tests/unit/concurrently/test_run_py.py, line 89
@pytest.mark.script_launch_mode('subprocess')
def test_run_task_null(script_runner, workingarea_path, package_rel_path_task_raise, env):
E fixture 'script_runner' not found
> available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, env, fs, monkeypatch, package_rel_path_task_null, package_rel_path_task_raise, pytestconfig, record_xml_attribute, record_xml_property, recwarn, tmpdir, tmpdir_factory, workingarea_path
> use 'pytest --fixtures [testpath]' for help on them.
/afs/cern.ch/work/b/bkrikler/FAST/FAST-RA1/external/alphatwirl/tests/unit/concurrently/test_run_py.py:89
_________________________________________________________________________________________ ERROR at setup of test_run __________________________________________________________________________________________
file /afs/cern.ch/work/b/bkrikler/FAST/FAST-RA1/external/alphatwirl/tests/unit/datasetloop/test_resume_py.py, line 47
@pytest.mark.script_launch_mode('subprocess')
def test_run(script_runner, pickled_reader_path, env):
E fixture 'script_runner' not found
> available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, env, fs, monkeypatch, pickled_reader_path, pytestconfig, record_xml_attribute, record_xml_property, recwarn, tmpdir, tmpdir_factory, workingarea_path
> use 'pytest --fixtures [testpath]' for help on them.
/afs/cern.ch/work/b/bkrikler/FAST/FAST-RA1/external/alphatwirl/tests/unit/datasetloop/test_resume_py.py:47
=============================================================================== 630 passed, 9 skipped, 2 error in 9.25 seconds ================================================================================
from alphatwirl.
Yes, at the moment, .travis.yml
shows the requirements for running the test.
They are not in requirements.txt
because they are only required for running the tests. Incidentally, Sphinx
shouldn't be in requirements.txt
either. I am planning to have multiple requirements.txt
files, at least three, for using alphatwirl, for running the tests, and for compiling the sphinx doc.
You can edit README.md
(not the one at the top dir but the one in the tests
dir) if you want them to be listed there.
from alphatwirl.
the issue #35 tracks the update on requirement files.
Please, look at .travis.yml
for the requirements for running the test for now.
from alphatwirl.
Related Issues (20)
- handle TChain with no files HOT 1
- fix Read the Docs HOT 1
- RuntimeWarning in travis
- rename valOutColumnNames HOT 2
- should min be applied on bin boundaries rather than values? HOT 2
- develop progress presentation for jupyter notebook HOT 5
- fix travis for python 2.7 with ROOT HOT 11
- avoid mutable default HOT 1
- support the "with" statement for using "concurrently"
- support decorator for using "concurrently"
- allow elements of the option binnings of KeyValueComposer to be None
- ValueError with duplicate datasets HOT 4
- add unit tests to test if receive_one() in TaskPackageDropbox unpickles one result
- HTCondorJobSubmitter crashes if problem submitting HOT 1
- correct module names for multiple _deprecated_class_method_option
- "can't pickle _thread.lock" in ResumableDatasetLoop with SubprocessRunner in Python 3 HOT 1
- update tests for TaskPackageDropbox
- make simple_repr work HOT 1
- enable coverage in Travis-CI HOT 1
- ROOT is not imported in Travis HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alphatwirl.