Skip to content

Commit 82684e3

Browse files
authored
Refactor the test_call_module_empty_argument test (#3153)
1 parent 65cc190 commit 82684e3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pygmt/tests/test_clib.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,11 @@ def test_call_module_empty_argument():
159159
"""
160160
call_module should work if an empty string or an empty list is passed as argument.
161161
"""
162+
Figure()
162163
with clib.Session() as lib:
163-
lib.call_module("defaults", "")
164+
lib.call_module("logo", "")
164165
with clib.Session() as lib:
165-
lib.call_module("defaults", [])
166+
lib.call_module("logo", [])
166167

167168

168169
def test_call_module_invalid_argument_type():

0 commit comments

Comments
 (0)