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
3d5f5417
Commit
3d5f5417
authored
Nov 22, 2014
by
Bram Schoenmakers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix duplicate method name.
parent
5622684f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
test/AddCommandTest.py
test/AddCommandTest.py
+6
-6
No files found.
test/AddCommandTest.py
View file @
3d5f5417
...
@@ -116,7 +116,7 @@ class AddCommandTest(CommandTest.CommandTest):
...
@@ -116,7 +116,7 @@ class AddCommandTest(CommandTest.CommandTest):
self
.
assertEquals
(
self
.
output
,
" 1 "
+
str
(
self
.
todolist
.
todo
(
1
))
+
"
\
n
"
)
self
.
assertEquals
(
self
.
output
,
" 1 "
+
str
(
self
.
todolist
.
todo
(
1
))
+
"
\
n
"
)
self
.
assertEquals
(
self
.
errors
,
""
)
self
.
assertEquals
(
self
.
errors
,
""
)
def
test_add_dep
4
(
self
):
def
test_add_dep
5
(
self
):
""" Test for using an after: tag with non-existing value. """
""" Test for using an after: tag with non-existing value. """
command
=
AddCommand
.
AddCommand
([
"Foo after:2"
],
self
.
todolist
,
self
.
out
,
self
.
error
)
command
=
AddCommand
.
AddCommand
([
"Foo after:2"
],
self
.
todolist
,
self
.
out
,
self
.
error
)
command
.
execute
()
command
.
execute
()
...
@@ -126,7 +126,7 @@ class AddCommandTest(CommandTest.CommandTest):
...
@@ -126,7 +126,7 @@ class AddCommandTest(CommandTest.CommandTest):
self
.
assertEquals
(
self
.
output
,
" 1 "
+
str
(
self
.
todolist
.
todo
(
1
))
+
"
\
n
"
)
self
.
assertEquals
(
self
.
output
,
" 1 "
+
str
(
self
.
todolist
.
todo
(
1
))
+
"
\
n
"
)
self
.
assertEquals
(
self
.
errors
,
""
)
self
.
assertEquals
(
self
.
errors
,
""
)
def
test_add_dep
5
(
self
):
def
test_add_dep
6
(
self
):
command
=
AddCommand
.
AddCommand
([
"Foo"
],
self
.
todolist
,
self
.
out
,
self
.
error
)
command
=
AddCommand
.
AddCommand
([
"Foo"
],
self
.
todolist
,
self
.
out
,
self
.
error
)
command
.
execute
()
command
.
execute
()
...
@@ -141,7 +141,7 @@ class AddCommandTest(CommandTest.CommandTest):
...
@@ -141,7 +141,7 @@ class AddCommandTest(CommandTest.CommandTest):
self
.
assertEquals
(
self
.
todolist
.
todo
(
3
).
source
(),
self
.
today
+
" Baz p:1 p:2"
)
self
.
assertEquals
(
self
.
todolist
.
todo
(
3
).
source
(),
self
.
today
+
" Baz p:1 p:2"
)
self
.
assertEquals
(
self
.
errors
,
""
)
self
.
assertEquals
(
self
.
errors
,
""
)
def
test_add_dep
6
(
self
):
def
test_add_dep
7
(
self
):
command
=
AddCommand
.
AddCommand
([
"Foo"
],
self
.
todolist
,
self
.
out
,
self
.
error
)
command
=
AddCommand
.
AddCommand
([
"Foo"
],
self
.
todolist
,
self
.
out
,
self
.
error
)
command
.
execute
()
command
.
execute
()
...
...
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