From fa2642e1fd433944c0ca0a02f5b59313f53a8fe0 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Tue, 2 Apr 2024 11:03:41 +0800 Subject: [PATCH] Refactor the test_call_module_empty_argument test --- pygmt/tests/test_clib.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pygmt/tests/test_clib.py b/pygmt/tests/test_clib.py index 201d7d27fb7..59a9f745983 100644 --- a/pygmt/tests/test_clib.py +++ b/pygmt/tests/test_clib.py @@ -159,10 +159,11 @@ def test_call_module_empty_argument(): """ call_module should work if an empty string or an empty list is passed as argument. """ + Figure() with clib.Session() as lib: - lib.call_module("defaults", "") + lib.call_module("logo", "") with clib.Session() as lib: - lib.call_module("defaults", []) + lib.call_module("logo", []) def test_call_module_invalid_argument_type():