Skip to content

Commit

Permalink
dkpro#4 - Make this a proper python package
Browse files Browse the repository at this point in the history
- switched to unittest2 to see if this fixes the build for py27 (was erroring on travis)
  • Loading branch information
mromanello authored and reckart committed Jun 1, 2018
1 parent 1d172f2 commit 794288a
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 6 deletions.
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ isort = "*"
ipdb = "*"
ipython = "*"
tox = "*"
"unittest2" = "*"
30 changes: 29 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/TestCasReader.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@author: Dibyojyoti
unit test cases to check CasXmi functionality
'''
import unittest
import unittest2 as unittest

from pycas.type.cas.CAS_Type import CAS_Type
from pycas.type.cas.Feature import Feature
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCasXmiParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
unit test cases to check CasXmiParser functionality
@author: Dibyojyoti
'''
import unittest
import unittest2 as unittest
from pycas.cas.parse.CasXmiParser import CasXmiParser
from lxml import etree

Expand Down
2 changes: 1 addition & 1 deletion tests/TestTypeSystemParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@author: Dibyojyoti
unit test cases to check TypeSystemParser functionality
'''
import unittest
import unittest2 as unittest
from pycas.cas.parse.TypeSystemParser import TypeSystemParser

class TestTypeSystemParserMethods(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/testing_data/document5.txt.xmi

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ envlist = py27, py34, py35, py36
[testenv]
passenv=HOME
deps =
pipenv
unittest2
commands=
python setup.py develop
python setup.py test

0 comments on commit 794288a

Please sign in to comment.