<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/rdflib.git/test/jsonld, branch sdo-https</title>
<subtitle>github.com: rdflib/rdflib.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/'/>
<entry>
<title>Merge pull request #1456 from newinnovations/master</title>
<updated>2021-11-21T11:19:59+00:00</updated>
<author>
<name>Nicholas Car</name>
<email>nicholas.car@surroundaustralia.com</email>
</author>
<published>2021-11-21T11:19:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=a24d5349863254c07476b71aa7554a745c217abf'/>
<id>a24d5349863254c07476b71aa7554a745c217abf</id>
<content type='text'>
Fix JSON-LD data import adds trailing slashes to IRIs (#1443)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix JSON-LD data import adds trailing slashes to IRIs (#1443)</pre>
</div>
</content>
</entry>
<entry>
<title>Add two additional tests for `norm_url`</title>
<updated>2021-11-06T20:33:20+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2021-11-06T20:33:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=4059283664907639d85157f2d56d5dcb7661b495'/>
<id>4059283664907639d85157f2d56d5dcb7661b495</id>
<content type='text'>
Tests suggested by @newinnovations.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tests suggested by @newinnovations.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tests for norm_url.</title>
<updated>2021-10-28T23:57:07+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2021-10-28T21:49:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=62444478416dc8841955980cbbecbbea58d9f0f1'/>
<id>62444478416dc8841955980cbbecbbea58d9f0f1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Migrate from nosetest to pytest</title>
<updated>2021-10-24T14:28:54+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2021-10-24T14:19:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=c2a37b70b9ca7158996f59437ae193dd7c421316'/>
<id>c2a37b70b9ca7158996f59437ae193dd7c421316</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>blacked everything</title>
<updated>2021-07-20T13:13:06+00:00</updated>
<author>
<name>Nicholas Car</name>
<email>nicholas.car@surroundaustralia.com</email>
</author>
<published>2021-07-20T13:13:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=17969dccdc6b182ef19c1a9e0b86a6585026aeab'/>
<id>17969dccdc6b182ef19c1a9e0b86a6585026aeab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>monkey-patch N3 parser in jsonld test-runner only when required, and unpatch it when done</title>
<updated>2021-07-09T05:47:11+00:00</updated>
<author>
<name>Ashley Sommer</name>
<email>Ashley.Sommer@csiro.au</email>
</author>
<published>2021-07-09T05:47:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=ab6ac8c0f42ca98622f6f17a0586098a5860e37d'/>
<id>ab6ac8c0f42ca98622f6f17a0586098a5860e37d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>some tests magically fixed themselves, remove them from known_bugs</title>
<updated>2021-07-09T04:25:01+00:00</updated>
<author>
<name>Ashley Sommer</name>
<email>Ashley.Sommer@csiro.au</email>
</author>
<published>2021-07-09T04:25:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=5e4503ed21e54871cf1262677811c50f5d19d791'/>
<id>5e4503ed21e54871cf1262677811c50f5d19d791</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>change directory back to cwd after running jsonld tests</title>
<updated>2021-07-09T00:27:31+00:00</updated>
<author>
<name>Ashley Sommer</name>
<email>Ashley.Sommer@csiro.au</email>
</author>
<published>2021-07-09T00:27:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=e9f3f9c6bba987333f3bb2ccc4e78d49d8aa961a'/>
<id>e9f3f9c6bba987333f3bb2ccc4e78d49d8aa961a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Investigated some more json-ld test failures</title>
<updated>2021-07-08T01:55:00+00:00</updated>
<author>
<name>Ashley Sommer</name>
<email>Ashley.Sommer@csiro.au</email>
</author>
<published>2021-07-08T01:55:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=f11aab7bef7a4d5baa1c1c5e0044471ceb1efe5e'/>
<id>f11aab7bef7a4d5baa1c1c5e0044471ceb1efe5e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>integrate jsonld code into rdflib core</title>
<updated>2021-07-07T06:47:21+00:00</updated>
<author>
<name>Ashley Sommer</name>
<email>Ashley.Sommer@csiro.au</email>
</author>
<published>2021-07-07T06:47:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rdflib.git/commit/?id=ec0c7c18e2a5d3d8652cf676c273eb7d7b97a48e'/>
<id>ec0c7c18e2a5d3d8652cf676c273eb7d7b97a48e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
