Skip to content

Commit

Permalink
Merge pull request #3 from halter/retire_vestigial_extended_fields
Browse files Browse the repository at this point in the history
remove customer_serial_number and manufacturer_serial_number
  • Loading branch information
pocoJourno authored Nov 20, 2023
2 parents 356e3da + 5f5d307 commit 4793f93
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions openhtf/core/dut_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@

@dataclass
class DutIdentifier:
customer_serial_number: str
manufacturer_serial_number: Optional[str] = None
halter_serial_number: str
mac_address: Optional[str] = None
part_number: Optional[str] = None
additional: Optional[dict] = None

@property
def test_id(self) -> str:
return self.manufacturer_serial_number or self.customer_serial_number
return self.halter_serial_number

0 comments on commit 4793f93

Please sign in to comment.