<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/rdflib.git/test/test_conjunctive_graph.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>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>2to3 whole sourcebase</title>
<updated>2020-06-22T18:34:26+00:00</updated>
<author>
<name>t0b3</name>
<email>thomas.bettler@gmail.com</email>
</author>
<published>2020-05-08T17:54:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=f69df4252e3a8466c025e34585dac37c7691b47c'/>
<id>f69df4252e3a8466c025e34585dac37c7691b47c</id>
<content type='text'>
Signed-off-by: t0b3 &lt;thomas.bettler@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: t0b3 &lt;thomas.bettler@gmail.com&gt;
</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>Cleaning up Dataset class, adding graph tracking to store API, as</title>
<updated>2013-07-29T16:43:05+00:00</updated>
<author>
<name>Gunnar Aastrand Grimnes</name>
<email>gromgull@gmail.com</email>
</author>
<published>2013-06-26T14:10:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=1ed4feb63219badbe910b8b402377f011a5853e7'/>
<id>1ed4feb63219badbe910b8b402377f011a5853e7</id>
<content type='text'>
discussed in #307

Summary of changes:

 * added methods ```add_graph``` and ```remove_graph``` to the Store
   API, implemented these for Sleepycat and IOMemory. A flag,
   ```graph_awareness``` is set on the store if they methods are
   supported, default implementations will raise an exception.

 * made the dataset require a store with the ```graph_awareness```
   flag set.

 * removed the graph-state kept in the ```Dataset``` class directly.

 * removed ```dataset.add_quads```, ```remove_quads``` methods. The
   ```add/remove``` methods of ```ConjunctiveGraph``` are smart enough
   to work with triples or quads.

 * removed the ```dataset.graphs``` method - it now does exactly the
   same as ```contexts```

 * cleaned up a bit more confusion of whether Graph instance or the
   Graph identifiers are passed to store methods. (#225)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
discussed in #307

Summary of changes:

 * added methods ```add_graph``` and ```remove_graph``` to the Store
   API, implemented these for Sleepycat and IOMemory. A flag,
   ```graph_awareness``` is set on the store if they methods are
   supported, default implementations will raise an exception.

 * made the dataset require a store with the ```graph_awareness```
   flag set.

 * removed the graph-state kept in the ```Dataset``` class directly.

 * removed ```dataset.add_quads```, ```remove_quads``` methods. The
   ```add/remove``` methods of ```ConjunctiveGraph``` are smart enough
   to work with triples or quads.

 * removed the ```dataset.graphs``` method - it now does exactly the
   same as ```contexts```

 * cleaned up a bit more confusion of whether Graph instance or the
   Graph identifiers are passed to store methods. (#225)
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure quads added with addN have contexts that are a graph instance. tests and fixes #299</title>
<updated>2013-06-19T20:04:10+00:00</updated>
<author>
<name>Gunnar Aastrand Grimnes</name>
<email>gromgull@gmail.com</email>
</author>
<published>2013-06-19T20:04:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=766154ca193abc02a8682380e760f25bc019678d'/>
<id>766154ca193abc02a8682380e760f25bc019678d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fixed tests for 2.5/2.6</title>
<updated>2013-06-15T08:06:49+00:00</updated>
<author>
<name>Gunnar Aastrand Grimnes</name>
<email>gromgull@gmail.com</email>
</author>
<published>2013-06-15T08:06:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=6a0f1a11f3c9a81eb0205ac33e37918ec14994cb'/>
<id>6a0f1a11f3c9a81eb0205ac33e37918ec14994cb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bnode as public id for graph.parse. test + fixes #300.</title>
<updated>2013-06-15T07:04:44+00:00</updated>
<author>
<name>Gunnar Aastrand Grimnes</name>
<email>gromgull@gmail.com</email>
</author>
<published>2013-06-15T07:04:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=a06fa67455136088be30fab395f903818c58c761'/>
<id>a06fa67455136088be30fab395f903818c58c761</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix py3-incompatible test code that causes PY3 test failure.</title>
<updated>2012-12-29T16:19:37+00:00</updated>
<author>
<name>Graham Higgins</name>
<email>gjh-github@bel-epa.com</email>
</author>
<published>2012-12-29T16:19:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=3043a2400e46648f01921aad265816d2bcf18211'/>
<id>3043a2400e46648f01921aad265816d2bcf18211</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
