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
a37294da
Commit
a37294da
authored
Nov 22, 2014
by
Bram Schoenmakers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assign to the variable in the outer scope.
parent
3d5f5417
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
test/DoCommandTest.py
test/DoCommandTest.py
+2
-0
No files found.
test/DoCommandTest.py
View file @
a37294da
...
@@ -85,6 +85,7 @@ class DoCommandTest(CommandTest.CommandTest):
...
@@ -85,6 +85,7 @@ class DoCommandTest(CommandTest.CommandTest):
prompt_shown
=
False
prompt_shown
=
False
def
prompt
(
p_prompt
):
def
prompt
(
p_prompt
):
global
prompt_shown
prompt_shown
=
True
prompt_shown
=
True
command
=
DoCommand
.
DoCommand
([
"-f"
,
"1"
],
self
.
todolist
,
self
.
out
,
self
.
error
,
prompt
)
command
=
DoCommand
.
DoCommand
([
"-f"
,
"1"
],
self
.
todolist
,
self
.
out
,
self
.
error
,
prompt
)
...
@@ -98,6 +99,7 @@ class DoCommandTest(CommandTest.CommandTest):
...
@@ -98,6 +99,7 @@ class DoCommandTest(CommandTest.CommandTest):
prompt_shown
=
False
prompt_shown
=
False
def
prompt
(
p_prompt
):
def
prompt
(
p_prompt
):
global
prompt_shown
prompt_shown
=
True
prompt_shown
=
True
command
=
DoCommand
.
DoCommand
([
"--force"
,
"1"
],
self
.
todolist
,
self
.
out
,
self
.
error
,
prompt
)
command
=
DoCommand
.
DoCommand
([
"--force"
,
"1"
],
self
.
todolist
,
self
.
out
,
self
.
error
,
prompt
)
...
...
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