Skip to content

Commit

Permalink
fixup! Issue #134 update api version in some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Mar 7, 2023
1 parent 6109e86 commit 7f30d08
Showing 1 changed file with 60 additions and 24 deletions.
84 changes: 60 additions & 24 deletions tests/rest/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,47 +285,83 @@ def test_connect_with_session():
(
[
{"api_version": "0.4.1", "url": "https://oeo.test/openeo/0.4.1/"},
{"api_version": "0.4.2", "url": "https://oeo.test/openeo/0.4.2/"},
{"api_version": "1.0.0", "url": "https://oeo.test/openeo/1.0.0/"},
{"api_version": "1.1.0", "url": "https://oeo.test/openeo/1.1.0/"},
],
"https://oeo.test/openeo/1.1.0/",
"1.1.0",
),
(
[
{"api_version": "0.4.1", "url": "https://oeo.test/openeo/0.4.1/"},
{"api_version": "1.0.0", "url": "https://oeo.test/openeo/1.0.0/"},
{
"api_version": "1.1.0",
"url": "https://oeo.test/openeo/1.1.0/",
"production": False,
},
],
"https://oeo.test/openeo/1.0.0/",
"1.0.0",
),
(
[
{"api_version": "0.4.1", "url": "https://oeo.test/openeo/0.4.1/"},
{"api_version": "0.4.2", "url": "https://oeo.test/openeo/0.4.2/"},
{"api_version": "1.0.0", "url": "https://oeo.test/openeo/1.0.0/", "production": False},
{
"api_version": "0.4.1",
"url": "https://oeo.test/openeo/0.4.1/",
"production": True,
},
{
"api_version": "1.0.0",
"url": "https://oeo.test/openeo/1.0.0/",
"production": True,
},
{
"api_version": "1.1.0",
"url": "https://oeo.test/openeo/1.1.0/",
"production": False,
},
],
"https://oeo.test/openeo/0.4.2/",
"0.4.2",
"https://oeo.test/openeo/1.0.0/",
"1.0.0",
),
(
[
{"api_version": "0.4.1", "url": "https://oeo.test/openeo/0.4.1/", "production": True},
{"api_version": "0.4.2", "url": "https://oeo.test/openeo/0.4.2/", "production": True},
{"api_version": "1.0.0", "url": "https://oeo.test/openeo/1.0.0/", "production": False},
{
"api_version": "0.4.1",
"url": "https://oeo.test/openeo/0.4.1/",
"production": False,
},
{
"api_version": "1.0.0",
"url": "https://oeo.test/openeo/1.0.0/",
"production": False,
},
{
"api_version": "1.1.0",
"url": "https://oeo.test/openeo/1.1.0/",
"production": False,
},
],
"https://oeo.test/openeo/0.4.2/",
"0.4.2",
),
(
"https://oeo.test/openeo/1.1.0/",
"1.1.0",
),
(
[
{"api_version": "0.4.1", "url": "https://oeo.test/openeo/0.4.1/", "production": False},
{"api_version": "0.4.2", "url": "https://oeo.test/openeo/0.4.2/", "production": False},
{"api_version": "1.0.0", "url": "https://oeo.test/openeo/1.0.0/", "production": False},
{
"api_version": "0.1.0",
"url": "https://oeo.test/openeo/0.1.0/",
"production": True,
},
{
"api_version": "1.0.0",
"url": "https://oeo.test/openeo/1.0.0/",
"production": False,
},
],
"https://oeo.test/openeo/1.0.0/",
"1.0.0",
),
(
[
{"api_version": "0.1.0", "url": "https://oeo.test/openeo/0.1.0/", "production": True},
{"api_version": "0.4.2", "url": "https://oeo.test/openeo/0.4.2/", "production": False},
],
"https://oeo.test/openeo/0.4.2/",
"0.4.2",
),
(
[],
"https://oeo.test/",
Expand Down

0 comments on commit 7f30d08

Please sign in to comment.