Commit 4914f504 authored by MinchinWeb's avatar MinchinWeb

Tests: rename files that don't contain tests so they don't start with 'test'

parent de339aa9
......@@ -14,9 +14,7 @@
# 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 unittest
from test.TestTopydo import TopydoTest
from test.TopydoTestCase import TopydoTest
from topydo.lib.Utils import escape_ansi
......@@ -33,6 +31,3 @@ class CommandTest(TopydoTest):
def error(self, p_error):
if p_error:
self.errors += escape_ansi(p_error + "\n")
if __name__ == '__main__':
unittest.main()
......@@ -20,7 +20,7 @@ from io import StringIO
from six import u
from test.TestCommand import CommandTest
from test.CommandTestCase import CommandTest
from topydo.commands import AddCommand, ListCommand
from topydo.lib import TodoList
from topydo.lib.Config import config
......
......@@ -16,7 +16,7 @@
import unittest
from test.TestCommand import CommandTest
from test.CommandTestCase import CommandTest
from topydo.commands.AppendCommand import AppendCommand
from topydo.lib.TodoList import TodoList
......
......@@ -16,8 +16,8 @@
import unittest
from test.CommandTestCase import CommandTest
from test.Facilities import load_file_to_todolist
from test.TestCommand import CommandTest
from topydo.commands.ArchiveCommand import ArchiveCommand
from topydo.lib.TodoList import TodoList
......
......@@ -18,7 +18,7 @@
import unittest
from test.TestTopydo import TopydoTest
from test.TopydoTestCase import TopydoTest
from topydo.lib.Colors import NEUTRAL_COLOR, Colors
from topydo.lib.Config import config
......
......@@ -16,7 +16,7 @@
import unittest
from test.TestTopydo import TopydoTest
from test.TopydoTestCase import TopydoTest
from topydo.lib.Config import config
......
......@@ -18,7 +18,7 @@ import unittest
from six import u
from test.TestCommand import CommandTest
from test.CommandTestCase import CommandTest
from topydo.commands.DeleteCommand import DeleteCommand
from topydo.lib.Config import config
from topydo.lib.TodoList import TodoList
......
......@@ -16,7 +16,7 @@
import unittest
from test.TestCommand import CommandTest
from test.CommandTestCase import CommandTest
from topydo.commands.DepCommand import DepCommand
from topydo.lib.TodoList import TodoList
......
......@@ -18,7 +18,7 @@ import unittest
from six import u
from test.TestCommand import CommandTest
from test.CommandTestCase import CommandTest
from topydo.commands.DepriCommand import DepriCommand
from topydo.lib.TodoList import TodoList
......
......@@ -19,7 +19,7 @@ from datetime import date, timedelta
from six import u
from test.TestCommand import CommandTest
from test.CommandTestCase import CommandTest
from topydo.commands.DoCommand import DoCommand
from topydo.lib.TodoList import TodoList
......
......@@ -19,7 +19,7 @@ import unittest
from six import u
from test.TestCommand import CommandTest
from test.CommandTestCase import CommandTest
from topydo.commands.EditCommand import EditCommand
from topydo.lib.Config import config
from topydo.lib.Todo import Todo
......
......@@ -21,7 +21,7 @@ from datetime import date, timedelta
from test.Facilities import (load_file, load_file_to_todolist,
todolist_to_string)
from test.TestTopydo import TopydoTest
from test.TopydoTestCase import TopydoTest
from topydo.lib import Filter
from topydo.lib.Todo import Todo
......
......@@ -16,7 +16,7 @@
import unittest
from test.TestTopydo import TopydoTest
from test.TopydoTestCase import TopydoTest
from topydo.lib.Graph import DirectedGraph
......
......@@ -17,7 +17,7 @@
import unittest
from datetime import date
from test.TestTopydo import TopydoTest
from test.TopydoTestCase import TopydoTest
from topydo.lib.Config import config
from topydo.lib.Importance import importance
from topydo.lib.Todo import Todo
......
......@@ -16,7 +16,7 @@
import unittest
from test.TestTopydo import TopydoTest
from test.TopydoTestCase import TopydoTest
from topydo.lib.JsonPrinter import JsonPrinter
from topydo.lib.Todo import Todo
......
......@@ -20,8 +20,8 @@ import unittest
from six import u
from test.CommandTestCase import CommandTest
from test.Facilities import load_file_to_todolist
from test.TestCommand import CommandTest
from topydo.commands.ListCommand import ListCommand
from topydo.lib.Config import config
......
......@@ -16,8 +16,8 @@
import unittest
from test.CommandTestCase import CommandTest
from test.Facilities import load_file_to_todolist
from test.TestCommand import CommandTest
from topydo.commands.ListContextCommand import ListContextCommand
......
......@@ -16,8 +16,8 @@
import unittest
from test.CommandTestCase import CommandTest
from test.Facilities import load_file_to_todolist
from test.TestCommand import CommandTest
from topydo.commands.ListProjectCommand import ListProjectCommand
......
......@@ -19,7 +19,7 @@ from datetime import date, timedelta
from six import u
from test.TestCommand import CommandTest
from test.CommandTestCase import CommandTest
from topydo.commands.PostponeCommand import PostponeCommand
from topydo.lib.TodoList import TodoList
......
......@@ -18,7 +18,7 @@ import unittest
from six import u
from test.TestCommand import CommandTest
from test.CommandTestCase import CommandTest
from topydo.commands.PriorityCommand import PriorityCommand
from topydo.lib.TodoList import TodoList
......
......@@ -17,7 +17,7 @@
import unittest
from datetime import date, timedelta
from test.TestTopydo import TopydoTest
from test.TopydoTestCase import TopydoTest
from topydo.lib.Config import config
from topydo.lib.Recurrence import NoRecurrenceException, advance_recurring_todo
from topydo.lib.Todo import Todo
......
......@@ -17,7 +17,7 @@
import unittest
from datetime import date, timedelta
from test.TestTopydo import TopydoTest
from test.TopydoTestCase import TopydoTest
from topydo.lib.RelativeDate import relative_date_to_date
......
......@@ -16,8 +16,8 @@
import unittest
from test.CommandTestCase import CommandTest
from test.Facilities import load_file_to_todolist
from test.TestCommand import CommandTest
from topydo.commands.SortCommand import SortCommand
from topydo.lib.Config import config
......
......@@ -18,7 +18,7 @@ import unittest
from test.Facilities import (load_file, load_file_to_todolist, print_view,
todolist_to_string)
from test.TestTopydo import TopydoTest
from test.TopydoTestCase import TopydoTest
from topydo.lib.Config import config
from topydo.lib.Sorter import Sorter
......
......@@ -16,7 +16,7 @@
import unittest
from test.TestCommand import CommandTest
from test.CommandTestCase import CommandTest
from topydo.commands.TagCommand import TagCommand
from topydo.lib.TodoList import TodoList
......
......@@ -17,7 +17,7 @@
import unittest
from datetime import date, timedelta
from test.TestTopydo import TopydoTest
from test.TopydoTestCase import TopydoTest
from topydo.lib.Todo import Todo
......
......@@ -20,7 +20,7 @@ import re
import unittest
from datetime import date, timedelta
from test.TestTopydo import TopydoTest
from test.TopydoTestCase import TopydoTest
from topydo.lib.TodoBase import TodoBase
......
......@@ -19,7 +19,7 @@ import unittest
from six import u
from test.Facilities import load_file
from test.TestTopydo import TopydoTest
from test.TopydoTestCase import TopydoTest
class TodoFileTest(TopydoTest):
......
......@@ -19,7 +19,7 @@
import re
import unittest
from test.TestTopydo import TopydoTest
from test.TopydoTestCase import TopydoTest
from topydo.lib.Config import config
from topydo.lib.Todo import Todo
from topydo.lib.TodoFile import TodoFile
......
......@@ -17,7 +17,7 @@
import unittest
from test.Facilities import load_file, print_view, todolist_to_string
from test.TestTopydo import TopydoTest
from test.TopydoTestCase import TopydoTest
from topydo.lib import Filter
from topydo.lib.Sorter import Sorter
from topydo.lib.TodoFile import TodoFile
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment