sumo-wrapper-python 1.1.1__tar.gz → 1.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of sumo-wrapper-python might be problematic. Click here for more details.
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/.github/workflows/build_docs.yaml +2 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/.github/workflows/linting.yml +2 -0
- sumo_wrapper_python-1.1.2/.readthedocs.yaml +16 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/PKG-INFO +1 -1
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/src/sumo/wrapper/_version.py +2 -2
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/src/sumo_wrapper_python.egg-info/PKG-INFO +1 -1
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/tests/test_sumo_thin_client.py +1 -19
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/tests/testdata/case.yml +2 -2
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/tests/testdata/surface.yml +2 -2
- sumo_wrapper_python-1.1.1/.readthedocs.yaml +0 -16
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/.github/workflows/publish_release.yml +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/.github/workflows/pytest.yml +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/.gitignore +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/.pre-commit-config.yaml +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/CONTRIBUTING.md +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/LICENSE +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/README.md +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/SECURITY.md +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/docs/Makefile +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/docs/_static/equinor-logo.png +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/docs/_static/equinor-logo2.jpg +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/docs/_static/equinor_logo.jpg +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/docs/_static/equinor_logo_only.jpg +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/docs/_templates/layout.html +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/docs/api.rst +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/docs/conf.py +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/docs/index.rst +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/docs/make.bat +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/docs/sumo-wrapper-python.rst +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/pyproject.toml +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/setup.cfg +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/src/sumo/__init__.py +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/src/sumo/wrapper/__init__.py +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/src/sumo/wrapper/_auth_provider.py +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/src/sumo/wrapper/_blob_client.py +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/src/sumo/wrapper/_decorators.py +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/src/sumo/wrapper/_logging.py +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/src/sumo/wrapper/_retry_strategy.py +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/src/sumo/wrapper/config.py +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/src/sumo/wrapper/login.py +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/src/sumo/wrapper/sumo_client.py +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/src/sumo_wrapper_python.egg-info/SOURCES.txt +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/src/sumo_wrapper_python.egg-info/dependency_links.txt +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/src/sumo_wrapper_python.egg-info/entry_points.txt +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/src/sumo_wrapper_python.egg-info/requires.txt +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/src/sumo_wrapper_python.egg-info/top_level.txt +0 -0
- {sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/tests/conftest.py +0 -0
|
@@ -33,18 +33,6 @@ def _upload_blob(conn, blob, url=None, object_id=None):
|
|
|
33
33
|
return response
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
def _get_blob_uri(conn, object_id):
|
|
37
|
-
response = conn.get(f"/objects('{object_id}')/blob/authuri")
|
|
38
|
-
|
|
39
|
-
print("Blob save " + str(response.status_code), flush=True)
|
|
40
|
-
if not 200 <= response.status_code < 202:
|
|
41
|
-
raise Exception(
|
|
42
|
-
f"get blob uri for {object_id}"
|
|
43
|
-
f" returned {response.text} {response.status_code}"
|
|
44
|
-
)
|
|
45
|
-
return response
|
|
46
|
-
|
|
47
|
-
|
|
48
36
|
def _download_object(conn, object_id):
|
|
49
37
|
json = conn.get(f"/objects('{object_id}')").json()
|
|
50
38
|
|
|
@@ -67,12 +55,6 @@ def _delete_object(conn, object_id):
|
|
|
67
55
|
return response
|
|
68
56
|
|
|
69
57
|
|
|
70
|
-
class ValueKeeper:
|
|
71
|
-
"""Class for keeping/passing values between tests"""
|
|
72
|
-
|
|
73
|
-
pass
|
|
74
|
-
|
|
75
|
-
|
|
76
58
|
""" TESTS """
|
|
77
59
|
|
|
78
60
|
|
|
@@ -234,7 +216,7 @@ def test_upload_duplicate_ensemble(token):
|
|
|
234
216
|
# time-to-live of 60 seconds. If there are multiple replicas
|
|
235
217
|
# running, we might get the situation where we have just deleted
|
|
236
218
|
# the case via one replica, then ask for the object from another
|
|
237
|
-
# replica which still has it
|
|
219
|
+
# replica which still has it in cache. Thus, the magic value 61,
|
|
238
220
|
# below.
|
|
239
221
|
sleep(61)
|
|
240
222
|
|
|
@@ -54,11 +54,11 @@ masterdata:
|
|
|
54
54
|
uuid: 12345678-1234-1234-1234-123456789012
|
|
55
55
|
|
|
56
56
|
tracklog:
|
|
57
|
-
- datetime: '2020-10-28T14:28:
|
|
57
|
+
- datetime: '2020-10-28T14:28:02Z'
|
|
58
58
|
user:
|
|
59
59
|
id: testuser
|
|
60
60
|
event: created
|
|
61
|
-
- datetime: '2020-10-28T14:46:
|
|
61
|
+
- datetime: '2020-10-28T14:46:14Z'
|
|
62
62
|
user:
|
|
63
63
|
id: testuser
|
|
64
64
|
event: updated
|
|
@@ -3,11 +3,11 @@ version: "0.12.0" # including for REP and others to build logic on.
|
|
|
3
3
|
source: fmu # always included, and always this value if FMU made it. For quick identification for external consumers.
|
|
4
4
|
|
|
5
5
|
tracklog:
|
|
6
|
-
- datetime: '2020-10-28T14:28:
|
|
6
|
+
- datetime: '2020-10-28T14:28:02Z'
|
|
7
7
|
user:
|
|
8
8
|
id: testuser
|
|
9
9
|
event: created
|
|
10
|
-
- datetime: '2020-10-28T14:46:
|
|
10
|
+
- datetime: '2020-10-28T14:46:14Z'
|
|
11
11
|
user:
|
|
12
12
|
id: testuser
|
|
13
13
|
event: updated
|
{sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/.github/workflows/publish_release.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sumo_wrapper_python-1.1.1 → sumo_wrapper_python-1.1.2}/src/sumo_wrapper_python.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|