コード例 #1
0
ファイル: test_earth.py プロジェクト: olivierh59500/bowshock
    def test_imagery_endpoint_nodim(self):

        r = earth.imagery(lon=100.75,
                          lat=1.6,
                          date="2015-02-02",
                          cloud_score=True)
        self.assertEqual(r.status_code, 200)
        sleep(2)
コード例 #2
0
ファイル: test_earth.py プロジェクト: YHVHvx/bowshock
    def test_imagery_endpoint_nodate(self):

        r = earth.imagery(lon=100.75, lat=1.6)
        self.assertEqual(r.status_code, 200)
        sleep(2)
コード例 #3
0
ファイル: test_earth.py プロジェクト: YHVHvx/bowshock
    def test_imagery_endpoint_nocloudscore(self):

        r = earth.imagery(lon=100.75, lat=1.6, date="2015-02-02")
        self.assertEqual(r.status_code, 200)
        sleep(2)
コード例 #4
0
ファイル: test_earth.py プロジェクト: YHVHvx/bowshock
    def test_imagery_endpoint_full(self):

        r = earth.imagery(lon=100.75, lat=1.6, dim=0.0025, date="2015-02-02", cloud_score=True)
        self.assertEqual(r.status_code, 200)
        sleep(2)
コード例 #5
0
ファイル: test_earth.py プロジェクト: olivierh59500/bowshock
    def test_imagery_endpoint_nodate(self):

        r = earth.imagery(lon=100.75, lat=1.6)
        self.assertEqual(r.status_code, 200)
        sleep(2)