Skip to content

Commit

Permalink
fix unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
jnewb1 committed Jul 21, 2023
1 parent 6249274 commit 5233d3a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ ENV PATH="/root/.pyenv/bin:/root/.pyenv/shims:${PATH}"

ENV PANDA_PATH=/tmp/openpilot/panda
ENV OPENPILOT_REF="29837b872802db8b445653f63c2c1ab67e7a27af"
ENV OPENDBC_REF="3ef35ed2298a3a9d199f9145409547710065884c"
ENV OPENDBC_REF="5880fbbccf5a670631b51836f20e446de643795a"

COPY requirements.txt /tmp/
RUN pyenv install 3.11.4 && \
Expand Down
6 changes: 0 additions & 6 deletions tests/safety/test_subaru.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,5 @@ def _pcm_status_msg(self, enable):
values = {"Cruise_Activated": enable}
return self.packer.make_can_msg_panda("ES_Status", 2, values)

def test_alt_lkas_msg(self):
self.assertTrue(self._tx(self._angle_cmd_msg(0, 0)))
self.assertFalse(self._tx(self._angle_cmd_msg(0, 1)))
self.assertFalse(self._tx(self._angle_cmd_msg(10, 0)))
self.assertFalse(self._tx(self._angle_cmd_msg(-10, 0)))

if __name__ == "__main__":
unittest.main()

0 comments on commit 5233d3a

Please sign in to comment.