From 6d2713df54ace0da3bbf955a73fb4a3589ca69f0 Mon Sep 17 00:00:00 2001 From: kennyballou Date: Thu, 4 Apr 2013 15:25:13 -0600 Subject: pylint new tests --- xnt/tests/maketests.py | 5 +++-- xnt/tests/textests.py | 4 ++-- 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 . -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", -- cgit v1.2.1