Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benpankow committed May 22, 2024
1 parent a263c19 commit e92fd80
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +0,0 @@
import pytest
from dagster import AssetKey, AssetMaterialization, TableColumn, TableSchema
from dagster._check import CheckError
from dagster._core.definitions.tags import NamespacedTagSet
from dagster._core.test_utils import ignore_warning, raise_exception_on_warnings


def test_invalid_tag_set() -> None:
class MyJunkTagSet(NamespacedTagSet):
junk: int

@classmethod
def namespace(cls) -> str:
return "dagster"

with pytest.raises(CheckError):
MyJunkTagSet(junk=1)

0 comments on commit e92fd80

Please sign in to comment.