mirror of
https://github.com/Skyai-io/landsat-util.git
synced 2026-03-10 09:01:18 +00:00
Update tests for new api response
This commit is contained in:
@@ -68,8 +68,7 @@ class TestLandsat(unittest.TestCase):
|
|||||||
"""Test Path Row search with incorrect input"""
|
"""Test Path Row search with incorrect input"""
|
||||||
args = ['search', '-p', 'what?']
|
args = ['search', '-p', 'what?']
|
||||||
|
|
||||||
self.assertEquals(landsat.main(self.parser.parse_args(args)),
|
self.assertEquals(landsat.main(self.parser.parse_args(args)), None)
|
||||||
['Check your request and try again', 1])
|
|
||||||
|
|
||||||
def test_search_json_output(self):
|
def test_search_json_output(self):
|
||||||
"""Test json output in search"""
|
"""Test json output in search"""
|
||||||
|
|||||||
Reference in New Issue
Block a user