Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Migrate from nosetest to pytest | Iwan Aucamp | 2021-10-24 | 1 | -61/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch replace all uses of nose with pytest. It also includes a pytest plugin for creating EARL reports for tests with a `rdf_test_uri` parameter. Some caveats: - HTML report directory is now htmlcov instead of coverage - There is some warning related to the EARL reporting plugin which I can't quite figure out: ``` .venv/lib64/python3.7/site-packages/_pytest/config/__init__.py:676 /home/iwana/sw/d/github.com/iafork/rdflib/.venv/lib64/python3.7/site-packages/_pytest/config/__init__.py:676: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: test.earl self.import_plugin(import_spec) ``` This is not causing any problems as far as I can tell, but still annoying. - python setup.py test won't work anymore, I can make it work but this is not advised by pytest: https://github.com/pytest-dev/pytest-runner/#deprecation-notice - run_test.py is still there but it's not really referenced anymore from anywhere and the options it accepts are completely different as it's options were based on nose. I would say it should be removed entirely but for now it is basically just a wrapper around pytest that basically does nothing. - Removed references to test attributes as currently they are not being used anywhere anyway, I guess we can add them back if there is some use for them later. - A lot of tests are still marked to skip when really they should be marked with xfail. This is also affecting the RDFT test manifests and result in reports saying tests are skipped when really we know they will fail and they are only skipped for this reason. But there is no change here from before, and pytest makes it easier to dynamically do expected failures. Special thanks to Wes Turner for his advice and inputs on this process. | ||||
* | Fix minor typos | Natanael Arndt | 2020-09-09 | 1 | -1/+1 |
| | |||||
* | cleanup run_tests.py | Florian Ludwig | 2020-09-08 | 1 | -11/+4 |
| | |||||
* | 2to3 whole sourcebase | t0b3 | 2020-06-22 | 1 | -2/+0 |
| | | | | Signed-off-by: t0b3 <thomas.bettler@gmail.com> | ||||
* | blacked all python files | Nicholas Car | 2020-05-16 | 1 | -18/+20 |
| | |||||
* | make namespace module flake8-compliant, change exceptions in that module to ↵ | Adam Ever Hadani | 2017-02-06 | 1 | -1/+1 |
| | | | | specific ones | ||||
* | six: run_tests.py: cleanup, py3 compatible | Joern Hees | 2017-01-30 | 1 | -17/+24 |
| | |||||
* | Update issue 123 | eikeon | 2010-03-12 | 1 | -1/+1 |
| | | | | Fixed a few small pylint issues; more to come. | ||||
* | removed more non core bits; run_tests now runs all tests but those marked ↵ | eikeon | 2010-02-05 | 1 | -1/+1 |
| | | | | with known_issue and sparql | ||||
* | added bit to run_tests to skip over known_issue; added __test__ = False to ↵ | eikeon | 2010-02-04 | 1 | -1/+1 |
| | | | | rdfa tests while we fix the 9 that are failing; updated hash function in graphutils so that it doesn't vary between environments and cause the doc tests to fail | ||||
* | removed --with-xunit from run_tests.py so as not to confuse people, and put ↵ | ed.summers | 2010-02-03 | 1 | -1/+0 |
| | | | | it in the hudson invocation of run_tests.py | ||||
* | trying out xunit output w/ hudson | ed.summers | 2010-02-03 | 1 | -0/+1 |
| | |||||
* | removed old commented out code | eikeon | 2010-02-03 | 1 | -83/+0 |
| | |||||
* | switch to nose.run_exit to see if it will propagate exit code to hudson | ed.summers | 2010-02-03 | 1 | -1/+1 |
| | |||||
* | removing sparql bits since we've pushed them out of 2.5 for now | eikeon | 2010-02-02 | 1 | -1/+1 |
| | |||||
* | Add "!manual" and "!non_core" to DEFAULT_ATTRS to avoid running manual and ↵ | gjhiggins | 2009-05-17 | 1 | -1/+1 |
| | | | | non_core tests. | ||||
* | fixed Trix parser and added as plugin again, also fixed trix tests | gromgull | 2009-03-03 | 1 | -0/+2 |
| | |||||
* | removed --with-EARL for now | eikeon | 2007-03-30 | 1 | -1/+1 |
| | |||||
* | added --with-EARL to run_tests; added date-time stamp to results output filename | eikeon | 2007-03-29 | 1 | -0/+1 |
| | |||||
* | slight improvement of docstring | lindstream | 2007-03-24 | 1 | -5/+26 |
| | |||||
* | changed UTF-8 -> utf-8 | eikeon | 2007-03-24 | 1 | -0/+151 |
| | |||||
* | go away | eikeon | 2007-03-24 | 1 | -0/+0 |
| | |||||
* | moved content to run_nose_tests | eikeon | 2007-03-24 | 1 | -82/+0 |
| | |||||
* | change run_tests to print message indicating to use: python setup.py test | eikeon | 2007-03-11 | 1 | -2/+7 |
| | |||||
* | Added test case for unicode string query issue; fixed issue | eikeon | 2006-11-15 | 1 | -0/+1 |
| | |||||
* | added JSON test | eikeon | 2006-11-08 | 1 | -0/+2 |
| | |||||
* | Split out Sleepycat tests; made them part of 'not quick' | eikeon | 2006-11-07 | 1 | -0/+2 |
| | |||||
* | cleaned up tests; changed URIRef("foo")!=u"foo"; added/fixed the identifier ↵ | eikeon | 2006-11-07 | 1 | -4/+13 |
| | | | | __repr__s | ||||
* | Added new N3Serializer, TurtleSerializer, and Abstract super classes. Made ↵ | gromgull | 2006-08-08 | 1 | -0/+2 |
| | | | | N3Writer tests run as part of run_tests.py. Literal.py changed to support triple quoted long literals. | ||||
* | commenting out rdfa tests as some of them are failing | eikeon | 2006-08-02 | 1 | -1/+2 |
| | |||||
* | merged events code into trunk | michel | 2006-07-10 | 1 | -0/+2 |
| | |||||
* | removed trailing spaces | ogrisel | 2006-06-25 | 1 | -1/+1 |
| | |||||
* | fixing EOL problems by setting the svn:eol-style property to native and ↵ | ogrisel | 2006-06-25 | 1 | -58/+58 |
| | | | | replacing \r\n by a single \n | ||||
* | - I've made fixes/added feature to RDFa parser | eliast | 2006-06-08 | 1 | -0/+5 |
| | | | | - Added RDFa parser test suite | ||||
* | added n3 quoting test | eikeon | 2006-05-21 | 1 | -0/+1 |
| | |||||
* | assorted patches for tests (see http://tracker.asemantics.com/rdflib/ticket/8 ) | eikeon | 2006-01-23 | 1 | -5/+20 |
| | |||||
* | removed no longer existing test case | eikeon | 2005-12-18 | 1 | -2/+0 |
| | |||||
* | added graph2_2 | eikeon | 2005-12-16 | 1 | -0/+2 |
| | |||||
* | graph references are now store directly in graphs and not indirectly via ↵ | eikeon | 2005-12-15 | 1 | -2/+1 |
| | | | | their identifier; and too many other little changes along for the ride | ||||
* | fixed to_bits; added Statement node | eikeon | 2005-12-13 | 1 | -1/+2 |
| | |||||
* | detabified | eikeon | 2005-12-13 | 1 | -1/+1 |
| | |||||
* | (no commit message) | eikeon | 2005-12-12 | 1 | -1/+1 |
| | |||||
* | test/contexts now runs with Sleepycat store too; fixed a few remove_context ↵ | eikeon | 2005-12-12 | 1 | -1/+1 |
| | | | | bugs found | ||||
* | fixed non quick tests | eikeon | 2005-12-09 | 1 | -1/+1 |
| | |||||
* | finished backend -> store bit including some backward compat. bits | eikeon | 2005-12-09 | 1 | -2/+8 |
| | |||||
* | more triples interface alignment | eikeon | 2005-12-09 | 1 | -5/+6 |
| | |||||
* | updated to include all but test.type_check | eikeon | 2005-12-07 | 1 | -12/+15 |
| | |||||
* | added back optional context arguments to maintain 2.x interface re: ↵ | eikeon | 2005-12-07 | 1 | -6/+13 |
| | | | | ConjunctiveGraph | ||||
* | commented back in a few tests | eikeon | 2005-12-07 | 1 | -3/+3 |
| | |||||
* | checking in with tests commented out to test new release script | eikeon | 2005-12-07 | 1 | -16/+13 |
| |