Skip to content

Commit

Permalink
Merge pull request #563 from truher/main
Browse files Browse the repository at this point in the history
avoid failing identity test on actual pi
  • Loading branch information
truher authored Dec 1, 2024
2 parents 005f077 + 0147aab commit cfbe314
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions raspberry_pi/tests/config/identity_test.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import platform
import unittest

from app.config.identity import Identity


class IdentityTest(unittest.TestCase):
def test_identity(self) -> None:
identity: Identity = Identity.get()
self.assertEqual("unknown", identity.value)

if platform.machine() == "x86_64":
self.assertEqual("unknown", identity.value)

0 comments on commit cfbe314

Please sign in to comment.