Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppe-carboni committed Jan 21, 2025
1 parent 5a76a4e commit bce8a1a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .landscape.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ pylint:
- too-many-arguments
- too-many-lines
- simplifiable-if-statement
- too-many-positional-arguments
- possibly-used-before-assignment

pycodestyle:
disable:
Expand Down
2 changes: 1 addition & 1 deletion simulators/minor_servos/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def _status(self, args):
return answer
else:
answer = self.good()
plc_time = answer.split(',')[-1]
plc_time = answer.rsplit(',', maxsplit=1)[-1]
answer += f',CURRENT_CONFIG={self.configuration}|'
answer += f'SIMULATION_ENABLED={self.simulation}|'
answer += f'PLC_TIME={plc_time}|'
Expand Down
1 change: 1 addition & 0 deletions testing_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
coverage
prospector
requests

0 comments on commit bce8a1a

Please sign in to comment.