Skip to content

Commit ec05d69

Browse files
committed
Fix power unit in radio_component test
1 parent a30cbbb commit ec05d69

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/system/solvers/test_26_emit.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,8 @@ def test_04_radio_component(self, add_app):
283283
assert "Frequency should be within 1Hz to 100 GHz." in str(e)
284284

285285
# test power unit conversions
286-
# TODO(bkaylor): What should the unit here be?
287-
# band_power = radio.band_tx_power(band)
288-
# assert band_power == 40.0
286+
band_power = radio.band_tx_power(band, "dBm")
287+
assert band_power == 40.0
289288
band_power = radio.band_tx_power(band, "dBW")
290289
assert band_power == 10.0
291290
band_power = radio.band_tx_power(band, "mW")

0 commit comments

Comments
 (0)