Skip to content

Commit 4dc01aa

Browse files
committed
compare uuid == uuid not str
1 parent fb6bed4 commit 4dc01aa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/test_view.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717
from typing import Any
18+
from uuid import UUID
1819

1920
import pytest
2021

@@ -85,7 +86,7 @@ def test_view_location(view: View) -> None:
8586

8687

8788
def test_view_uuid(view: View) -> None:
88-
assert view.uuid() == "a20125c8-7284-442c-9aea-15fee620737c"
89+
assert view.uuid() == UUID("a20125c8-7284-442c-9aea-15fee620737c")
8990

9091

9192
def test_view_sql_for_dialect(view: View) -> None:

0 commit comments

Comments
 (0)