Skip to content

Commit

Permalink
Update tests (totally unrelated to this PR)
Browse files Browse the repository at this point in the history
  • Loading branch information
samwaseda committed Dec 9, 2024
1 parent 6953969 commit 8e106f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/test_dataclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
from semantikon.typing import u
from typing import Annotated
from dataclasses import dataclass
from semantikon.converter import uniton_class, parse_metadata
from semantikon.converter import semantikon_class, parse_metadata


@uniton_class
@semantikon_class
@dataclass
class Pizza:
size: Annotated[float, "centimeter"]
Expand All @@ -23,7 +23,7 @@ def original_price(self):
return self.price


@uniton_class
@semantikon_class
@dataclass
class Output:
total_energy: u(float, units="eV", label="TotalEnergy", associate_to_sample=True)
Expand Down

0 comments on commit 8e106f7

Please sign in to comment.