Skip to content

Commit

Permalink
ttlfmt add test for outfmt, bump version for release
Browse files Browse the repository at this point in the history
  • Loading branch information
tgbugs committed Feb 10, 2020
1 parent 84499d5 commit 124fda0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion ttlser/test/test_ttlfmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,19 @@ def setUp(self):
def tearDown(self):
sys.argv = self.oldargv

def test_multi_slow(self):
def test_run(self):
try:
main()
except AttributeError as e:
raise AttributeError('failed with ' + str(self.argv)) from e


class TestXml(TestTtlfmt):
argv = ['ttlfmt', f1[0], '--outfmt', 'xml', '--output', 'test/good.owl']
argv2 = ['ttlfmt', 'test/good.owl', '--outfmt', 'ttl', '--output', 'test/good2.ttl']
def test_run(self):
super().test_run()
self.__class__.argv = self.argv2

def test_run_2(self):
super().test_run()
2 changes: 1 addition & 1 deletion ttlser/ttlser/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .serializers import *
from .serializers import __all__

__version__ = '1.1.0'
__version__ = '1.1.1'

0 comments on commit 124fda0

Please sign in to comment.