Skip to content

Commit

Permalink
Fixed UT
Browse files Browse the repository at this point in the history
  • Loading branch information
bmridul committed Feb 14, 2024
1 parent 0d3f575 commit 3e33c87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/sensor_fs_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def test_sensor_fs():
'''
sensors_data = yaml.safe_load(yaml_data)

vsensors = VoltageSensorFs.factory(sensors_data['voltage_sensors'])
csensors = CurrentSensorFs.factory(sensors_data['current_sensors'])
vsensors = VoltageSensorFs.factory(VoltageSensorFs, sensors_data['voltage_sensors'])
csensors = CurrentSensorFs.factory(CurrentSensorFs, sensors_data['current_sensors'])

assert(vsensors[0].get_name() == 'VSENSOR1')
assert(vsensors[0].get_position_in_parent() == 1)
Expand Down

0 comments on commit 3e33c87

Please sign in to comment.