Skip to content

Commit

Permalink
Fix: Updated incorrect random range (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
MounikaBattu17 authored Jun 30, 2023
1 parent 6462274 commit 8e6a88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/legacy/test_channel_creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def test_create_ai_power_chan(self, task, sim_ts_power_device, seed):

pwr_phys_chan = f"{sim_ts_power_device.name}/power"
voltage_setpoint = random.random() * 6.0
current_setpoint = random.random() * 3.0
current_setpoint = random.uniform(0.03, 3.0)
output_enable = random.choice([True, False])
# CPLD is fixed-point, so values are coerced to something close.
setpoint_tolerance = 1e-03
Expand Down

0 comments on commit 8e6a88d

Please sign in to comment.