Skip to content

Commit

Permalink
Fix cudo integrity test import
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor-S committed Feb 26, 2024
1 parent 2496090 commit de76f1b
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions src/integrity_tests/test_cudo.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import pytest

from src.gpuhunt.providers.cudo import GPU_MAP
from gpuhunt.providers.cudo import GPU_MAP


@pytest.fixture
Expand All @@ -21,16 +21,14 @@ def select_row(rows, name: str) -> List[str]:


def test_locations(data_rows):
expected = set(
(
"no-luster-1",
"se-smedjebacken-1",
"gb-london-1",
"se-stockholm-1",
"us-newyork-1",
"us-santaclara-1",
)
)
expected = {
"no-luster-1",
"se-smedjebacken-1",
"gb-london-1",
"se-stockholm-1",
"us-newyork-1",
"us-santaclara-1",
}
locations = select_row(data_rows, "location")
assert set(locations) == expected

Expand Down

0 comments on commit de76f1b

Please sign in to comment.