Skip to content

Commit d81bfcd

Browse files
committed
Fix changed import to DaplaRegion
1 parent 4a8aca9 commit d81bfcd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/fagfunksjoner/prodsone/check_env.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
import os
88

9-
from dapla.auth import AuthClient, DaplaRegion
9+
from dapla.auth import AuthClient
10+
from dapla.const import DaplaRegion
1011

1112

1213
def check_env(raise_err: bool = True) -> str:

tests/prodsone/test_check_env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from unittest import mock
33

44
import pytest
5-
from dapla.auth import DaplaRegion
5+
from dapla.const import DaplaRegion
66

77
from fagfunksjoner.prodsone import check_env
88

0 commit comments

Comments
 (0)