From 25b5507267e0259833751430b28c3834e525fdce Mon Sep 17 00:00:00 2001 From: Adam Waldenberg Date: Sat, 5 Sep 2015 10:27:29 +0200 Subject: [PATCH] Moved test resouces into a resources directory. --- tests/{ => resources}/commented_file.cpp | 0 tests/{ => resources}/commented_file.tex | 0 tests/test_comment.py | 6 +++--- 3 files changed, 3 insertions(+), 3 deletions(-) rename tests/{ => resources}/commented_file.cpp (100%) rename tests/{ => resources}/commented_file.tex (100%) diff --git a/tests/commented_file.cpp b/tests/resources/commented_file.cpp similarity index 100% rename from tests/commented_file.cpp rename to tests/resources/commented_file.cpp diff --git a/tests/commented_file.tex b/tests/resources/commented_file.tex similarity index 100% rename from tests/commented_file.tex rename to tests/resources/commented_file.tex diff --git a/tests/test_comment.py b/tests/test_comment.py index 66c9082..afbe483 100644 --- a/tests/test_comment.py +++ b/tests/test_comment.py @@ -1,6 +1,6 @@ # coding: utf-8 # -# Copyright © 2013 Ejwa Software. All rights reserved. +# Copyright © 2013-2015 Ejwa Software. All rights reserved. # # This file is part of gitinspector. # @@ -41,10 +41,10 @@ def __test_extension__(commented_file, extension): class TexFileTest(unittest2.TestCase): def test(self): - comment_counter = __test_extension__("/commented_file.tex", "tex") + comment_counter = __test_extension__("/resources/commented_file.tex", "tex") self.assertEqual(comment_counter, 30) class CppFileTest(unittest2.TestCase): def test(self): - comment_counter = __test_extension__("/commented_file.cpp", "cpp") + comment_counter = __test_extension__("/resources/commented_file.cpp", "cpp") self.assertEqual(comment_counter, 25)