Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Benjamin Jakimow
EO Time Series Viewer
Commits
27f0a203
Commit
27f0a203
authored
Nov 07, 2020
by
Benjamin Jakimow
Browse files
fixed tests
parent
f30c0245
Pipeline
#13835
failed with stage
in 1 minute and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/test_mapcanvas.py
View file @
27f0a203
...
...
@@ -76,13 +76,9 @@ class TestMapCanvas(EOTSVTestCase):
canvas
.
setExtent
(
lyr1
.
extent
())
pos
=
QPoint
(
int
(
canvas
.
width
()
*
0.5
),
int
(
canvas
.
height
()
*
0.5
))
menu
=
canvas
.
c
ontextMenu
(
pos
)
menu
=
QMenu
()
canvas
.
populateC
ontextMenu
(
menu
,
pos
)
self
.
assertIsInstance
(
menu
,
QMenu
)
if
not
os
.
environ
.
get
(
'CI'
):
event
=
QContextMenuEvent
(
QContextMenuEvent
.
Mouse
,
pos
)
canvas
.
contextMenuEvent
(
event
)
self
.
showGui
(
menu
)
def
test_mapcanvasInfoItem
(
self
):
...
...
Write
Preview
Supports
Markdown
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