summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkennyballou <kballou@onyx.boisestate.edu>2013-04-04 15:25:13 -0600
committerkennyballou <kballou@onyx.boisestate.edu>2013-04-04 15:25:13 -0600
commit6d2713df54ace0da3bbf955a73fb4a3589ca69f0 (patch)
tree8985aa95b2d6c6f539d18ad541ca353ce1c96bb5
parent03544a5cea66d0258456cfe07cd6772a191818b2 (diff)
downloadxnt-6d2713df54ace0da3bbf955a73fb4a3589ca69f0.tar.gz
xnt-6d2713df54ace0da3bbf955a73fb4a3589ca69f0.tar.xz
pylint new tests
-rw-r--r--xnt/tests/maketests.py5
-rw-r--r--xnt/tests/textests.py4
2 files changed, 5 insertions, 4 deletions
diff --git a/xnt/tests/maketests.py b/xnt/tests/maketests.py
index abf458b..c022b12 100644
--- a/xnt/tests/maketests.py
+++ b/xnt/tests/maketests.py
@@ -17,7 +17,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-import os
import unittest
import xnt
import xnt.build.make
@@ -49,7 +48,9 @@ class AntTests(unittest.TestCase):
def test_passing_flags(self):
"""Test ant with passing flags"""
- result = xnt.build.make.ant(target="test", path="temp", flags=["-verbose"])
+ result = xnt.build.make.ant(target="test",
+ path="temp",
+ flags=["-verbose"])
self.assertEqual(result, 0)
def test_pass_var(self):
diff --git a/xnt/tests/textests.py b/xnt/tests/textests.py
index 34b44d1..d555915 100644
--- a/xnt/tests/textests.py
+++ b/xnt/tests/textests.py
@@ -66,7 +66,7 @@ class TexTests(unittest.TestCase):
self.assertTrue(os.path.exists("temp/test.aux"))
self.assertTrue(os.path.exists("temp/test.log"))
- def test_pdflatex_build_with_bibtex(self):
+ def test_pdflatex_with_bibtex(self):
"""Test pdflatex with bibtex"""
xnt.build.tex.pdflatex("test.tex",
path="temp",
@@ -75,7 +75,7 @@ class TexTests(unittest.TestCase):
self.assertTrue(os.path.exists("temp/test.bbl"))
self.assertTrue(os.path.exists("temp/test.blg"))
- def test_pdflatex_build_with_glossary(self):
+ def test_pdflatex_with_glossary(self):
"""Test pdflatex with glossary output"""
xnt.build.tex.pdflatex("test.tex",
path="temp",