Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
fslpy
Commits
35cfaa17
Commit
35cfaa17
authored
6 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
TEST: isWidgetAlive no longer exists
parent
b2302b97
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_platform.py
+0
-30
0 additions, 30 deletions
tests/test_platform.py
with
0 additions
and
30 deletions
tests/test_platform.py
+
0
−
30
View file @
35cfaa17
...
@@ -208,33 +208,3 @@ def test_detect_ssh():
...
@@ -208,33 +208,3 @@ def test_detect_ssh():
p
=
fslplatform
.
Platform
()
p
=
fslplatform
.
Platform
()
assert
not
p
.
inSSHSession
assert
not
p
.
inSSHSession
assert
not
p
.
inVNCSession
assert
not
p
.
inVNCSession
@pytest.mark.wxtest
def
test_IsWidgetAlive
():
import
wx
passed
=
[
False
]
app
=
wx
.
App
()
frame
=
wx
.
Frame
(
None
)
btn
=
wx
.
Button
(
frame
)
frame
.
Show
()
def
runtest
():
try
:
passed
[
0
]
=
fslplatform
.
isWidgetAlive
(
btn
)
btn
.
Destroy
()
passed
[
0
]
=
passed
[
0
]
and
(
not
fslplatform
.
isWidgetAlive
(
btn
))
finally
:
frame
.
Destroy
()
app
.
ExitMainLoop
()
wx
.
CallLater
(
500
,
runtest
)
app
.
MainLoop
()
assert
passed
[
0
]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment