<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/rdflib.git/test/test_nt_w3c.py, branch sdo-https</title>
<subtitle>github.com: rdflib/rdflib.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/'/>
<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://git.baserock.org/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>Fix generation of w3c tests</title>
<updated>2021-10-18T19:49:21+00:00</updated>
<author>
<name>Natanael Arndt</name>
<email>arndtn@gmail.com</email>
</author>
<published>2021-03-01T15:43:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=e3a16bda50e7f04bff8e9bedd59e31df51df9ac9'/>
<id>e3a16bda50e7f04bff8e9bedd59e31df51df9ac9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make some yield tests normal tests</title>
<updated>2021-10-18T19:49:20+00:00</updated>
<author>
<name>Natanael Arndt</name>
<email>arndtn@gmail.com</email>
</author>
<published>2021-03-01T15:33:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=b04b7fd5fe297e2e0f9c0f17960061f563000291'/>
<id>b04b7fd5fe297e2e0f9c0f17960061f563000291</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor - module names don't match class names</title>
<updated>2020-05-27T03:31:49+00:00</updated>
<author>
<name>hsolbrig</name>
<email>solbrig@jhu.edu</email>
</author>
<published>2020-05-27T03:31:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=91015c19d10229137bdf81a47bcae9d864d1983d'/>
<id>91015c19d10229137bdf81a47bcae9d864d1983d</id>
<content type='text'>
For some reason the sequence of processing is different in Travis than in PyCharm.  Changing the module names eliminates any possibility of confusion.
Also fixed a number of warnings, whines and general unhappiness in the build process.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For some reason the sequence of processing is different in Travis than in PyCharm.  Changing the module names eliminates any possibility of confusion.
Also fixed a number of warnings, whines and general unhappiness in the build process.
</pre>
</div>
</content>
</entry>
<entry>
<title>Migration from ClosedNamespace to DeclaredNamespace</title>
<updated>2020-05-27T01:10:54+00:00</updated>
<author>
<name>hsolbrig</name>
<email>solbrig@jhu.edu</email>
</author>
<published>2020-05-27T01:10:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=1a98acbaefa938aafe9ca7f6ec179e4a3bc1d991'/>
<id>1a98acbaefa938aafe9ca7f6ec179e4a3bc1d991</id>
<content type='text'>
Passes all unit tests, but did have to remove '.' from manifest and earl imports.  May have to restore...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Passes all unit tests, but did have to remove '.' from manifest and earl imports.  May have to restore...
</pre>
</div>
</content>
</entry>
<entry>
<title>blacked all python files</title>
<updated>2020-05-16T11:00:24+00:00</updated>
<author>
<name>Nicholas Car</name>
<email>nicholas.car@surroundaustralia.com</email>
</author>
<published>2020-05-16T11:00:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=0be6f6039479ce29cf71b11e76be54e186130036'/>
<id>0be6f6039479ce29cf71b11e76be54e186130036</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>a slightly opinionated autopep8 run</title>
<updated>2018-10-30T14:38:42+00:00</updated>
<author>
<name>Gunnar Aastrand Grimnes</name>
<email>gromgull@gmail.com</email>
</author>
<published>2018-10-30T13:21:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=785e37932e71a02ab8c31257694060f550ff72a6'/>
<id>785e37932e71a02ab8c31257694060f550ff72a6</id>
<content type='text'>
opinions is mainly: no to long lines, but not at any cost.

notation3.py crashses autopep :D

Also rdflib/__init__.py gets completely broken
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
opinions is mainly: no to long lines, but not at any cost.

notation3.py crashses autopep :D

Also rdflib/__init__.py gets completely broken
</pre>
</div>
</content>
</entry>
<entry>
<title>converted all tests</title>
<updated>2017-01-30T16:43:04+00:00</updated>
<author>
<name>Gunnar Aastrand Grimnes</name>
<email>gromgull@gmail.com</email>
</author>
<published>2016-11-21T15:37:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=c267023ff0a1e89e511ea0b5d138ffcae059444b'/>
<id>c267023ff0a1e89e511ea0b5d138ffcae059444b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix tests from nose</title>
<updated>2013-12-22T19:53:12+00:00</updated>
<author>
<name>Gunnar Aastrand Grimnes</name>
<email>gromgull@gmail.com</email>
</author>
<published>2013-12-22T19:53:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=d0821bdb85b10de4403b917828ddcec8162afd8c'/>
<id>d0821bdb85b10de4403b917828ddcec8162afd8c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>moved earl report generation to separate file - added reporting to nq/nt/trig/ttl</title>
<updated>2013-12-22T19:11:37+00:00</updated>
<author>
<name>Gunnar Aastrand Grimnes</name>
<email>gromgull@gmail.com</email>
</author>
<published>2013-12-22T19:11:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=1abdfb931e0fe8daba3a07e9d993d5b68d75223d'/>
<id>1abdfb931e0fe8daba3a07e9d993d5b68d75223d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
