Skip to content

Commit

Permalink
test: Fix minimal platform creation
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Aug 16, 2024
1 parent f61ed5f commit f9d4daf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def test_platform_basics():
name="ciao",
parameters=Parameters(native_gates=NativeGates()),
instruments={},
qubits={},
)
assert str(platform) == "ciao"
assert platform.topology == []
Expand All @@ -75,6 +76,7 @@ def test_platform_basics():
)
),
instruments={},
qubits=qs,
)
assert str(platform2) == "come va?"
assert (1, 6) in platform2.topology
Expand Down

0 comments on commit f9d4daf

Please sign in to comment.