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
4914f504
Commit
4914f504
authored
Oct 08, 2015
by
MinchinWeb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests: rename files that don't contain tests so they don't start with 'test'
parent
de339aa9
Changes
31
Show whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
30 additions
and
35 deletions
+30
-35
test/CommandTestCase.py
test/CommandTestCase.py
+1
-6
test/TestAddCommand.py
test/TestAddCommand.py
+1
-1
test/TestAppendCommand.py
test/TestAppendCommand.py
+1
-1
test/TestArchiveCommand.py
test/TestArchiveCommand.py
+1
-1
test/TestColors.py
test/TestColors.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
+1
-1
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
+1
-1
test/TestListContextCommand.py
test/TestListContextCommand.py
+1
-1
test/TestListProjectCommand.py
test/TestListProjectCommand.py
+1
-1
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
+1
-1
test/TestSorter.py
test/TestSorter.py
+1
-1
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
+1
-1
test/TestTodoList.py
test/TestTodoList.py
+1
-1
test/TestView.py
test/TestView.py
+1
-1
test/TopydoTestCase.py
test/TopydoTestCase.py
+0
-0
No files found.
test/
TestCommand
.py
→
test/
CommandTestCase
.py
View file @
4914f504
...
@@ -14,9 +14,7 @@
...
@@ -14,9 +14,7 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
test.TopydoTestCase
import
TopydoTest
from
test.TestTopydo
import
TopydoTest
from
topydo.lib.Utils
import
escape_ansi
from
topydo.lib.Utils
import
escape_ansi
...
@@ -33,6 +31,3 @@ class CommandTest(TopydoTest):
...
@@ -33,6 +31,3 @@ class CommandTest(TopydoTest):
def
error
(
self
,
p_error
):
def
error
(
self
,
p_error
):
if
p_error
:
if
p_error
:
self
.
errors
+=
escape_ansi
(
p_error
+
"
\
n
"
)
self
.
errors
+=
escape_ansi
(
p_error
+
"
\
n
"
)
if
__name__
==
'__main__'
:
unittest
.
main
()
test/TestAddCommand.py
View file @
4914f504
...
@@ -20,7 +20,7 @@ from io import StringIO
...
@@ -20,7 +20,7 @@ from io import StringIO
from
six
import
u
from
six
import
u
from
test.
TestCommand
import
CommandTest
from
test.
CommandTestCase
import
CommandTest
from
topydo.commands
import
AddCommand
,
ListCommand
from
topydo.commands
import
AddCommand
,
ListCommand
from
topydo.lib
import
TodoList
from
topydo.lib
import
TodoList
from
topydo.lib.Config
import
config
from
topydo.lib.Config
import
config
...
...
test/TestAppendCommand.py
View file @
4914f504
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
import
unittest
import
unittest
from
test.
TestCommand
import
CommandTest
from
test.
CommandTestCase
import
CommandTest
from
topydo.commands.AppendCommand
import
AppendCommand
from
topydo.commands.AppendCommand
import
AppendCommand
from
topydo.lib.TodoList
import
TodoList
from
topydo.lib.TodoList
import
TodoList
...
...
test/TestArchiveCommand.py
View file @
4914f504
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
import
unittest
import
unittest
from
test.CommandTestCase
import
CommandTest
from
test.Facilities
import
load_file_to_todolist
from
test.Facilities
import
load_file_to_todolist
from
test.TestCommand
import
CommandTest
from
topydo.commands.ArchiveCommand
import
ArchiveCommand
from
topydo.commands.ArchiveCommand
import
ArchiveCommand
from
topydo.lib.TodoList
import
TodoList
from
topydo.lib.TodoList
import
TodoList
...
...
test/TestColors.py
View file @
4914f504
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
import
unittest
import
unittest
from
test.T
estTopydo
import
TopydoTest
from
test.T
opydoTestCase
import
TopydoTest
from
topydo.lib.Colors
import
NEUTRAL_COLOR
,
Colors
from
topydo.lib.Colors
import
NEUTRAL_COLOR
,
Colors
from
topydo.lib.Config
import
config
from
topydo.lib.Config
import
config
...
...
test/TestConfig.py
View file @
4914f504
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
import
unittest
import
unittest
from
test.T
estTopydo
import
TopydoTest
from
test.T
opydoTestCase
import
TopydoTest
from
topydo.lib.Config
import
config
from
topydo.lib.Config
import
config
...
...
test/TestDeleteCommand.py
View file @
4914f504
...
@@ -18,7 +18,7 @@ import unittest
...
@@ -18,7 +18,7 @@ import unittest
from
six
import
u
from
six
import
u
from
test.
TestCommand
import
CommandTest
from
test.
CommandTestCase
import
CommandTest
from
topydo.commands.DeleteCommand
import
DeleteCommand
from
topydo.commands.DeleteCommand
import
DeleteCommand
from
topydo.lib.Config
import
config
from
topydo.lib.Config
import
config
from
topydo.lib.TodoList
import
TodoList
from
topydo.lib.TodoList
import
TodoList
...
...
test/TestDepCommand.py
View file @
4914f504
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
import
unittest
import
unittest
from
test.
TestCommand
import
CommandTest
from
test.
CommandTestCase
import
CommandTest
from
topydo.commands.DepCommand
import
DepCommand
from
topydo.commands.DepCommand
import
DepCommand
from
topydo.lib.TodoList
import
TodoList
from
topydo.lib.TodoList
import
TodoList
...
...
test/TestDepriCommand.py
View file @
4914f504
...
@@ -18,7 +18,7 @@ import unittest
...
@@ -18,7 +18,7 @@ import unittest
from
six
import
u
from
six
import
u
from
test.
TestCommand
import
CommandTest
from
test.
CommandTestCase
import
CommandTest
from
topydo.commands.DepriCommand
import
DepriCommand
from
topydo.commands.DepriCommand
import
DepriCommand
from
topydo.lib.TodoList
import
TodoList
from
topydo.lib.TodoList
import
TodoList
...
...
test/TestDoCommand.py
View file @
4914f504
...
@@ -19,7 +19,7 @@ from datetime import date, timedelta
...
@@ -19,7 +19,7 @@ from datetime import date, timedelta
from
six
import
u
from
six
import
u
from
test.
TestCommand
import
CommandTest
from
test.
CommandTestCase
import
CommandTest
from
topydo.commands.DoCommand
import
DoCommand
from
topydo.commands.DoCommand
import
DoCommand
from
topydo.lib.TodoList
import
TodoList
from
topydo.lib.TodoList
import
TodoList
...
...
test/TestEditCommand.py
View file @
4914f504
...
@@ -19,7 +19,7 @@ import unittest
...
@@ -19,7 +19,7 @@ import unittest
from
six
import
u
from
six
import
u
from
test.
TestCommand
import
CommandTest
from
test.
CommandTestCase
import
CommandTest
from
topydo.commands.EditCommand
import
EditCommand
from
topydo.commands.EditCommand
import
EditCommand
from
topydo.lib.Config
import
config
from
topydo.lib.Config
import
config
from
topydo.lib.Todo
import
Todo
from
topydo.lib.Todo
import
Todo
...
...
test/TestFilter.py
View file @
4914f504
...
@@ -21,7 +21,7 @@ from datetime import date, timedelta
...
@@ -21,7 +21,7 @@ from datetime import date, timedelta
from
test.Facilities
import
(
load_file
,
load_file_to_todolist
,
from
test.Facilities
import
(
load_file
,
load_file_to_todolist
,
todolist_to_string
)
todolist_to_string
)
from
test.T
estTopydo
import
TopydoTest
from
test.T
opydoTestCase
import
TopydoTest
from
topydo.lib
import
Filter
from
topydo.lib
import
Filter
from
topydo.lib.Todo
import
Todo
from
topydo.lib.Todo
import
Todo
...
...
test/TestGraph.py
View file @
4914f504
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
import
unittest
import
unittest
from
test.T
estTopydo
import
TopydoTest
from
test.T
opydoTestCase
import
TopydoTest
from
topydo.lib.Graph
import
DirectedGraph
from
topydo.lib.Graph
import
DirectedGraph
...
...
test/TestImportance.py
View file @
4914f504
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
import
unittest
import
unittest
from
datetime
import
date
from
datetime
import
date
from
test.T
estTopydo
import
TopydoTest
from
test.T
opydoTestCase
import
TopydoTest
from
topydo.lib.Config
import
config
from
topydo.lib.Config
import
config
from
topydo.lib.Importance
import
importance
from
topydo.lib.Importance
import
importance
from
topydo.lib.Todo
import
Todo
from
topydo.lib.Todo
import
Todo
...
...
test/TestJsonPrinter.py
View file @
4914f504
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
import
unittest
import
unittest
from
test.T
estTopydo
import
TopydoTest
from
test.T
opydoTestCase
import
TopydoTest
from
topydo.lib.JsonPrinter
import
JsonPrinter
from
topydo.lib.JsonPrinter
import
JsonPrinter
from
topydo.lib.Todo
import
Todo
from
topydo.lib.Todo
import
Todo
...
...
test/TestListCommand.py
View file @
4914f504
...
@@ -20,8 +20,8 @@ import unittest
...
@@ -20,8 +20,8 @@ import unittest
from
six
import
u
from
six
import
u
from
test.CommandTestCase
import
CommandTest
from
test.Facilities
import
load_file_to_todolist
from
test.Facilities
import
load_file_to_todolist
from
test.TestCommand
import
CommandTest
from
topydo.commands.ListCommand
import
ListCommand
from
topydo.commands.ListCommand
import
ListCommand
from
topydo.lib.Config
import
config
from
topydo.lib.Config
import
config
...
...
test/TestListContextCommand.py
View file @
4914f504
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
import
unittest
import
unittest
from
test.CommandTestCase
import
CommandTest
from
test.Facilities
import
load_file_to_todolist
from
test.Facilities
import
load_file_to_todolist
from
test.TestCommand
import
CommandTest
from
topydo.commands.ListContextCommand
import
ListContextCommand
from
topydo.commands.ListContextCommand
import
ListContextCommand
...
...
test/TestListProjectCommand.py
View file @
4914f504
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
import
unittest
import
unittest
from
test.CommandTestCase
import
CommandTest
from
test.Facilities
import
load_file_to_todolist
from
test.Facilities
import
load_file_to_todolist
from
test.TestCommand
import
CommandTest
from
topydo.commands.ListProjectCommand
import
ListProjectCommand
from
topydo.commands.ListProjectCommand
import
ListProjectCommand
...
...
test/TestPostponeCommand.py
View file @
4914f504
...
@@ -19,7 +19,7 @@ from datetime import date, timedelta
...
@@ -19,7 +19,7 @@ from datetime import date, timedelta
from
six
import
u
from
six
import
u
from
test.
TestCommand
import
CommandTest
from
test.
CommandTestCase
import
CommandTest
from
topydo.commands.PostponeCommand
import
PostponeCommand
from
topydo.commands.PostponeCommand
import
PostponeCommand
from
topydo.lib.TodoList
import
TodoList
from
topydo.lib.TodoList
import
TodoList
...
...
test/TestPriorityCommand.py
View file @
4914f504
...
@@ -18,7 +18,7 @@ import unittest
...
@@ -18,7 +18,7 @@ import unittest
from
six
import
u
from
six
import
u
from
test.
TestCommand
import
CommandTest
from
test.
CommandTestCase
import
CommandTest
from
topydo.commands.PriorityCommand
import
PriorityCommand
from
topydo.commands.PriorityCommand
import
PriorityCommand
from
topydo.lib.TodoList
import
TodoList
from
topydo.lib.TodoList
import
TodoList
...
...
test/TestRecurrence.py
View file @
4914f504
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
import
unittest
import
unittest
from
datetime
import
date
,
timedelta
from
datetime
import
date
,
timedelta
from
test.T
estTopydo
import
TopydoTest
from
test.T
opydoTestCase
import
TopydoTest
from
topydo.lib.Config
import
config
from
topydo.lib.Config
import
config
from
topydo.lib.Recurrence
import
NoRecurrenceException
,
advance_recurring_todo
from
topydo.lib.Recurrence
import
NoRecurrenceException
,
advance_recurring_todo
from
topydo.lib.Todo
import
Todo
from
topydo.lib.Todo
import
Todo
...
...
test/TestRelativeDate.py
View file @
4914f504
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
import
unittest
import
unittest
from
datetime
import
date
,
timedelta
from
datetime
import
date
,
timedelta
from
test.T
estTopydo
import
TopydoTest
from
test.T
opydoTestCase
import
TopydoTest
from
topydo.lib.RelativeDate
import
relative_date_to_date
from
topydo.lib.RelativeDate
import
relative_date_to_date
...
...
test/TestSortCommand.py
View file @
4914f504
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
import
unittest
import
unittest
from
test.CommandTestCase
import
CommandTest
from
test.Facilities
import
load_file_to_todolist
from
test.Facilities
import
load_file_to_todolist
from
test.TestCommand
import
CommandTest
from
topydo.commands.SortCommand
import
SortCommand
from
topydo.commands.SortCommand
import
SortCommand
from
topydo.lib.Config
import
config
from
topydo.lib.Config
import
config
...
...
test/TestSorter.py
View file @
4914f504
...
@@ -18,7 +18,7 @@ import unittest
...
@@ -18,7 +18,7 @@ import unittest
from
test.Facilities
import
(
load_file
,
load_file_to_todolist
,
print_view
,
from
test.Facilities
import
(
load_file
,
load_file_to_todolist
,
print_view
,
todolist_to_string
)
todolist_to_string
)
from
test.T
estTopydo
import
TopydoTest
from
test.T
opydoTestCase
import
TopydoTest
from
topydo.lib.Config
import
config
from
topydo.lib.Config
import
config
from
topydo.lib.Sorter
import
Sorter
from
topydo.lib.Sorter
import
Sorter
...
...
test/TestTagCommand.py
View file @
4914f504
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
import
unittest
import
unittest
from
test.
TestCommand
import
CommandTest
from
test.
CommandTestCase
import
CommandTest
from
topydo.commands.TagCommand
import
TagCommand
from
topydo.commands.TagCommand
import
TagCommand
from
topydo.lib.TodoList
import
TodoList
from
topydo.lib.TodoList
import
TodoList
...
...
test/TestTodo.py
View file @
4914f504
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
import
unittest
import
unittest
from
datetime
import
date
,
timedelta
from
datetime
import
date
,
timedelta
from
test.T
estTopydo
import
TopydoTest
from
test.T
opydoTestCase
import
TopydoTest
from
topydo.lib.Todo
import
Todo
from
topydo.lib.Todo
import
Todo
...
...
test/TestTodoBase.py
View file @
4914f504
...
@@ -20,7 +20,7 @@ import re
...
@@ -20,7 +20,7 @@ import re
import
unittest
import
unittest
from
datetime
import
date
,
timedelta
from
datetime
import
date
,
timedelta
from
test.T
estTopydo
import
TopydoTest
from
test.T
opydoTestCase
import
TopydoTest
from
topydo.lib.TodoBase
import
TodoBase
from
topydo.lib.TodoBase
import
TodoBase
...
...
test/TestTodoFile.py
View file @
4914f504
...
@@ -19,7 +19,7 @@ import unittest
...
@@ -19,7 +19,7 @@ import unittest
from
six
import
u
from
six
import
u
from
test.Facilities
import
load_file
from
test.Facilities
import
load_file
from
test.T
estTopydo
import
TopydoTest
from
test.T
opydoTestCase
import
TopydoTest
class
TodoFileTest
(
TopydoTest
):
class
TodoFileTest
(
TopydoTest
):
...
...
test/TestTodoList.py
View file @
4914f504
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
import
re
import
re
import
unittest
import
unittest
from
test.T
estTopydo
import
TopydoTest
from
test.T
opydoTestCase
import
TopydoTest
from
topydo.lib.Config
import
config
from
topydo.lib.Config
import
config
from
topydo.lib.Todo
import
Todo
from
topydo.lib.Todo
import
Todo
from
topydo.lib.TodoFile
import
TodoFile
from
topydo.lib.TodoFile
import
TodoFile
...
...
test/TestView.py
View file @
4914f504
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
import
unittest
import
unittest
from
test.Facilities
import
load_file
,
print_view
,
todolist_to_string
from
test.Facilities
import
load_file
,
print_view
,
todolist_to_string
from
test.T
estTopydo
import
TopydoTest
from
test.T
opydoTestCase
import
TopydoTest
from
topydo.lib
import
Filter
from
topydo.lib
import
Filter
from
topydo.lib.Sorter
import
Sorter
from
topydo.lib.Sorter
import
Sorter
from
topydo.lib.TodoFile
import
TodoFile
from
topydo.lib.TodoFile
import
TodoFile
...
...
test/T
estTopydo
.py
→
test/T
opydoTestCase
.py
View file @
4914f504
File moved
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