-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added connection error handling to client; tests for parquet and rast…
…er; support for raster sampling
- Loading branch information
Showing
5 changed files
with
81 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
"""Tests for sliderule-python connection errors when requests get sent back to back.""" | ||
|
||
import pytest | ||
import sliderule | ||
from sliderule import icesat2 | ||
|
||
@pytest.mark.network | ||
class TestInit: | ||
def test_loop_init(self, domain, organization): | ||
for _ in range(10): | ||
icesat2.init(domain, organization=organization) | ||
|
||
def test_loop_versions(self, domain, organization): | ||
icesat2.init(domain, organization=organization) | ||
for _ in range(10): | ||
sliderule.source("version", {}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters