Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
topydo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
topydo
Commits
e880112e
Commit
e880112e
authored
Oct 08, 2015
by
MinchinWeb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename test files to start with "test"
This allows the default discover on unittest to work
parent
842ff3ad
Changes
32
Hide whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
39 additions
and
39 deletions
+39
-39
test/Facilities.py
test/Facilities.py
+0
-0
test/TestAddCommand.py
test/TestAddCommand.py
+1
-1
test/TestAppendCommand.py
test/TestAppendCommand.py
+1
-1
test/TestArchiveCommand.py
test/TestArchiveCommand.py
+2
-2
test/TestColors.py
test/TestColors.py
+1
-1
test/TestCommand.py
test/TestCommand.py
+1
-1
test/TestConfig.py
test/TestConfig.py
+1
-1
test/TestDeleteCommand.py
test/TestDeleteCommand.py
+1
-1
test/TestDepCommand.py
test/TestDepCommand.py
+1
-1
test/TestDepriCommand.py
test/TestDepriCommand.py
+1
-1
test/TestDoCommand.py
test/TestDoCommand.py
+1
-1
test/TestEditCommand.py
test/TestEditCommand.py
+1
-1
test/TestFilter.py
test/TestFilter.py
+2
-2
test/TestGraph.py
test/TestGraph.py
+1
-1
test/TestImportance.py
test/TestImportance.py
+1
-1
test/TestJsonPrinter.py
test/TestJsonPrinter.py
+1
-1
test/TestListCommand.py
test/TestListCommand.py
+2
-2
test/TestListContextCommand.py
test/TestListContextCommand.py
+2
-2
test/TestListProjectCommand.py
test/TestListProjectCommand.py
+2
-2
test/TestPostponeCommand.py
test/TestPostponeCommand.py
+1
-1
test/TestPriorityCommand.py
test/TestPriorityCommand.py
+1
-1
test/TestRecurrence.py
test/TestRecurrence.py
+1
-1
test/TestRelativeDate.py
test/TestRelativeDate.py
+1
-1
test/TestSortCommand.py
test/TestSortCommand.py
+2
-2
test/TestSorter.py
test/TestSorter.py
+2
-2
test/TestTagCommand.py
test/TestTagCommand.py
+1
-1
test/TestTodo.py
test/TestTodo.py
+1
-1
test/TestTodoBase.py
test/TestTodoBase.py
+1
-1
test/TestTodoFile.py
test/TestTodoFile.py
+2
-2
test/TestTodoList.py
test/TestTodoList.py
+1
-1
test/TestTopydo.py
test/TestTopydo.py
+0
-0
test/TestView.py
test/TestView.py
+2
-2
No files found.
test/
Test
Facilities.py
→
test/Facilities.py
View file @
e880112e
File moved
test/
AddCommandTest
.py
→
test/
TestAddCommand
.py
View file @
e880112e
...
...
@@ -29,7 +29,7 @@ from io import StringIO
from
topydo.commands
import
AddCommand
from
topydo.commands
import
ListCommand
from
test.
CommandTest
import
CommandTest
from
test.
TestCommand
import
CommandTest
from
topydo.lib.Config
import
config
from
topydo.lib
import
TodoList
...
...
test/
AppendCommandTest
.py
→
test/
TestAppendCommand
.py
View file @
e880112e
...
...
@@ -17,7 +17,7 @@
import
unittest
from
topydo.commands.AppendCommand
import
AppendCommand
from
test.
CommandTest
import
CommandTest
from
test.
TestCommand
import
CommandTest
from
topydo.lib.TodoList
import
TodoList
class
AppendCommandTest
(
CommandTest
):
...
...
test/
ArchiveCommandTest
.py
→
test/
TestArchiveCommand
.py
View file @
e880112e
...
...
@@ -17,8 +17,8 @@
import
unittest
from
topydo.commands.ArchiveCommand
import
ArchiveCommand
from
test.
CommandTest
import
CommandTest
from
test.
Test
Facilities
import
load_file_to_todolist
from
test.
TestCommand
import
CommandTest
from
test.Facilities
import
load_file_to_todolist
from
topydo.lib.TodoList
import
TodoList
class
ArchiveCommandTest
(
CommandTest
):
...
...
test/
ColorsTest
.py
→
test/
TestColors
.py
View file @
e880112e
...
...
@@ -19,7 +19,7 @@
import
unittest
from
topydo.lib.Colors
import
Colors
,
NEUTRAL_COLOR
from
topydo.lib.Config
import
config
from
test.T
opydoTest
import
TopydoTest
from
test.T
estTopydo
import
TopydoTest
class
ColorsTest
(
TopydoTest
):
def
test_project_color1
(
self
):
...
...
test/
CommandTest
.py
→
test/
TestCommand
.py
View file @
e880112e
...
...
@@ -17,7 +17,7 @@
import
unittest
from
topydo.lib.Utils
import
escape_ansi
from
test.T
opydoTest
import
TopydoTest
from
test.T
estTopydo
import
TopydoTest
class
CommandTest
(
TopydoTest
):
def
__init__
(
self
,
*
args
,
**
kwargs
):
...
...
test/
ConfigTest
.py
→
test/
TestConfig
.py
View file @
e880112e
...
...
@@ -17,7 +17,7 @@
import
unittest
from
topydo.lib.Config
import
config
from
test.T
opydoTest
import
TopydoTest
from
test.T
estTopydo
import
TopydoTest
class
ConfigTest
(
TopydoTest
):
def
test_config1
(
self
):
...
...
test/
DeleteCommandTest
.py
→
test/
TestDeleteCommand
.py
View file @
e880112e
...
...
@@ -17,7 +17,7 @@
import
unittest
from
six
import
u
from
test.
CommandTest
import
CommandTest
from
test.
TestCommand
import
CommandTest
from
topydo.lib.Config
import
config
from
topydo.commands.DeleteCommand
import
DeleteCommand
from
topydo.lib.TodoList
import
TodoList
...
...
test/
DepCommandTest
.py
→
test/
TestDepCommand
.py
View file @
e880112e
...
...
@@ -17,7 +17,7 @@
import
unittest
from
topydo.commands.DepCommand
import
DepCommand
from
test.
CommandTest
import
CommandTest
from
test.
TestCommand
import
CommandTest
from
topydo.lib.TodoList
import
TodoList
class
DepCommandTest
(
CommandTest
):
...
...
test/
DepriCommandTest
.py
→
test/
TestDepriCommand
.py
View file @
e880112e
...
...
@@ -18,7 +18,7 @@ import unittest
from
six
import
u
from
topydo.commands.DepriCommand
import
DepriCommand
from
test.
CommandTest
import
CommandTest
from
test.
TestCommand
import
CommandTest
from
topydo.lib.TodoList
import
TodoList
class
DepriCommandTest
(
CommandTest
):
...
...
test/
DoCommandTest
.py
→
test/
TestDoCommand
.py
View file @
e880112e
...
...
@@ -19,7 +19,7 @@ import unittest
from
six
import
u
from
topydo.commands.DoCommand
import
DoCommand
from
test.
CommandTest
import
CommandTest
from
test.
TestCommand
import
CommandTest
from
topydo.lib.TodoList
import
TodoList
def
_yes_prompt
(
self
):
...
...
test/
EditCommandTest
.py
→
test/
TestEditCommand
.py
View file @
e880112e
...
...
@@ -27,7 +27,7 @@ from six import u
import
os
from
topydo.commands.EditCommand
import
EditCommand
from
test.
CommandTest
import
CommandTest
from
test.
TestCommand
import
CommandTest
from
topydo.lib.TodoList
import
TodoList
from
topydo.lib.Todo
import
Todo
from
topydo.lib.Config
import
config
...
...
test/
FilterTest
.py
→
test/
TestFilter
.py
View file @
e880112e
...
...
@@ -20,9 +20,9 @@ from datetime import date, timedelta
import
unittest
from
topydo.lib
import
Filter
from
test.
Test
Facilities
import
load_file
,
todolist_to_string
,
load_file_to_todolist
from
test.Facilities
import
load_file
,
todolist_to_string
,
load_file_to_todolist
from
topydo.lib.Todo
import
Todo
from
test.T
opydoTest
import
TopydoTest
from
test.T
estTopydo
import
TopydoTest
class
FilterTest
(
TopydoTest
):
def
test_filter03
(
self
):
...
...
test/
GraphTest
.py
→
test/
TestGraph
.py
View file @
e880112e
...
...
@@ -17,7 +17,7 @@
import
unittest
from
topydo.lib.Graph
import
DirectedGraph
from
test.T
opydoTest
import
TopydoTest
from
test.T
estTopydo
import
TopydoTest
class
GraphTest
(
TopydoTest
):
def
setUp
(
self
):
...
...
test/
ImportanceTest
.py
→
test/
TestImportance
.py
View file @
e880112e
...
...
@@ -20,7 +20,7 @@ import unittest
from
topydo.lib.Config
import
config
from
topydo.lib.Importance
import
importance
from
topydo.lib.Todo
import
Todo
from
test.T
opydoTest
import
TopydoTest
from
test.T
estTopydo
import
TopydoTest
class
ImportanceTest
(
TopydoTest
):
def
test_importance1
(
self
):
...
...
test/
JsonPrinterTest
.py
→
test/
TestJsonPrinter
.py
View file @
e880112e
...
...
@@ -16,7 +16,7 @@
from
topydo.lib.JsonPrinter
import
JsonPrinter
from
topydo.lib.Todo
import
Todo
from
test.T
opydoTest
import
TopydoTest
from
test.T
estTopydo
import
TopydoTest
class
JsonPrinterTest
(
TopydoTest
):
"""
...
...
test/
ListCommandTest
.py
→
test/
TestListCommand
.py
View file @
e880112e
...
...
@@ -21,8 +21,8 @@ import unittest
from
topydo.lib.Config
import
config
from
topydo.commands.ListCommand
import
ListCommand
from
test.
CommandTest
import
CommandTest
from
test.
Test
Facilities
import
load_file_to_todolist
from
test.
TestCommand
import
CommandTest
from
test.Facilities
import
load_file_to_todolist
class
ListCommandTest
(
CommandTest
):
def
setUp
(
self
):
...
...
test/
ListContextCommandTest
.py
→
test/
TestListContextCommand
.py
View file @
e880112e
...
...
@@ -17,8 +17,8 @@
import
unittest
from
topydo.commands.ListContextCommand
import
ListContextCommand
from
test.
CommandTest
import
CommandTest
from
test.
Test
Facilities
import
load_file_to_todolist
from
test.
TestCommand
import
CommandTest
from
test.Facilities
import
load_file_to_todolist
class
ListContextCommandTest
(
CommandTest
):
def
test_contexts1
(
self
):
...
...
test/
ListProjectCommandTest
.py
→
test/
TestListProjectCommand
.py
View file @
e880112e
...
...
@@ -17,8 +17,8 @@
import
unittest
from
topydo.commands.ListProjectCommand
import
ListProjectCommand
from
test.
CommandTest
import
CommandTest
from
test.
Test
Facilities
import
load_file_to_todolist
from
test.
TestCommand
import
CommandTest
from
test.Facilities
import
load_file_to_todolist
class
ListProjectCommandTest
(
CommandTest
):
def
test_projects1
(
self
):
...
...
test/
PostponeCommandTest
.py
→
test/
TestPostponeCommand
.py
View file @
e880112e
...
...
@@ -19,7 +19,7 @@ import unittest
from
six
import
u
from
topydo.commands.PostponeCommand
import
PostponeCommand
from
test.
CommandTest
import
CommandTest
from
test.
TestCommand
import
CommandTest
from
topydo.lib.TodoList
import
TodoList
class
PostponeCommandTest
(
CommandTest
):
...
...
test/
PriorityCommandTest
.py
→
test/
TestPriorityCommand
.py
View file @
e880112e
...
...
@@ -18,7 +18,7 @@ import unittest
from
six
import
u
from
topydo.commands.PriorityCommand
import
PriorityCommand
from
test.
CommandTest
import
CommandTest
from
test.
TestCommand
import
CommandTest
from
topydo.lib.TodoList
import
TodoList
class
PriorityCommandTest
(
CommandTest
):
...
...
test/
RecurrenceTest
.py
→
test/
TestRecurrence
.py
View file @
e880112e
...
...
@@ -20,7 +20,7 @@ import unittest
from
topydo.lib.Config
import
config
from
topydo.lib.Recurrence
import
advance_recurring_todo
,
NoRecurrenceException
from
topydo.lib.Todo
import
Todo
from
test.T
opydoTest
import
TopydoTest
from
test.T
estTopydo
import
TopydoTest
class
RecurrenceTest
(
TopydoTest
):
def
setUp
(
self
):
...
...
test/
RelativeDateTest
.py
→
test/
TestRelativeDate
.py
View file @
e880112e
...
...
@@ -18,7 +18,7 @@ from datetime import date, timedelta
import
unittest
from
topydo.lib.RelativeDate
import
relative_date_to_date
from
test.T
opydoTest
import
TopydoTest
from
test.T
estTopydo
import
TopydoTest
class
RelativeDateTester
(
TopydoTest
):
def
setUp
(
self
):
...
...
test/
SortCommandTest
.py
→
test/
TestSortCommand
.py
View file @
e880112e
...
...
@@ -18,8 +18,8 @@ import unittest
from
topydo.lib.Config
import
config
from
topydo.commands.SortCommand
import
SortCommand
from
test.
CommandTest
import
CommandTest
from
test.
Test
Facilities
import
load_file_to_todolist
from
test.
TestCommand
import
CommandTest
from
test.Facilities
import
load_file_to_todolist
class
SortCommandTest
(
CommandTest
):
def
setUp
(
self
):
...
...
test/
SorterTest
.py
→
test/
TestSorter
.py
View file @
e880112e
...
...
@@ -19,8 +19,8 @@ import unittest
from
topydo.lib.Config
import
config
from
topydo.lib.Sorter
import
Sorter
from
test.
Test
Facilities
import
load_file
,
todolist_to_string
,
load_file_to_todolist
,
print_view
from
test.T
opydoTest
import
TopydoTest
from
test.Facilities
import
load_file
,
todolist_to_string
,
load_file_to_todolist
,
print_view
from
test.T
estTopydo
import
TopydoTest
class
SorterTest
(
TopydoTest
):
def
sort_file
(
self
,
p_filename
,
p_filename_ref
,
p_sorter
):
...
...
test/T
agCommandTest
.py
→
test/T
estTagCommand
.py
View file @
e880112e
...
...
@@ -17,7 +17,7 @@
import
unittest
from
topydo.commands.TagCommand
import
TagCommand
from
test.
CommandTest
import
CommandTest
from
test.
TestCommand
import
CommandTest
from
topydo.lib.TodoList
import
TodoList
class
TagCommandTest
(
CommandTest
):
...
...
test/T
odoTest
.py
→
test/T
estTodo
.py
View file @
e880112e
...
...
@@ -18,7 +18,7 @@ from datetime import date, timedelta
import
unittest
from
topydo.lib.Todo
import
Todo
from
test.T
opydoTest
import
TopydoTest
from
test.T
estTopydo
import
TopydoTest
def
today_date
():
today
=
date
.
today
()
...
...
test/T
odoBaseTest
.py
→
test/T
estTodoBase
.py
View file @
e880112e
...
...
@@ -21,7 +21,7 @@ import re
import
unittest
from
topydo.lib.TodoBase
import
TodoBase
from
test.T
opydoTest
import
TopydoTest
from
test.T
estTopydo
import
TopydoTest
class
TodoBaseTester
(
TopydoTest
):
def
test_parse_tag
(
self
):
...
...
test/T
odoFileTest
.py
→
test/T
estTodoFile
.py
View file @
e880112e
...
...
@@ -17,8 +17,8 @@
from
six
import
u
import
unittest
from
test.
Test
Facilities
import
load_file
from
test.T
opydoTest
import
TopydoTest
from
test.Facilities
import
load_file
from
test.T
estTopydo
import
TopydoTest
class
TodoFileTest
(
TopydoTest
):
def
test_empty_file
(
self
):
...
...
test/T
odoListTe
st.py
→
test/T
estTodoLi
st.py
View file @
e880112e
...
...
@@ -25,7 +25,7 @@ from topydo.lib.TodoFile import TodoFile
from
topydo.lib.TodoListBase
import
InvalidTodoException
from
topydo.lib.TodoList
import
TodoList
from
topydo.lib.TodoListBase
import
TodoListBase
from
test.T
opydoTest
import
TopydoTest
from
test.T
estTopydo
import
TopydoTest
class
TodoListTester
(
TopydoTest
):
def
setUp
(
self
):
...
...
test/T
opydoTest
.py
→
test/T
estTopydo
.py
View file @
e880112e
File moved
test/
ViewTest
.py
→
test/
TestView
.py
View file @
e880112e
...
...
@@ -18,10 +18,10 @@ import unittest
from
topydo.lib
import
Filter
from
topydo.lib.Sorter
import
Sorter
from
test.
Test
Facilities
import
load_file
,
todolist_to_string
,
print_view
from
test.Facilities
import
load_file
,
todolist_to_string
,
print_view
from
topydo.lib.TodoFile
import
TodoFile
from
topydo.lib.TodoList
import
TodoList
from
test.T
opydoTest
import
TopydoTest
from
test.T
estTopydo
import
TopydoTest
class
ViewTest
(
TopydoTest
):
def
test_view
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment