Skip to content

Added proof-of-concept testing of SocketCAN on Travis CI & Smaller changes - #275

Merged
felixdivo merged 22 commits into
developfrom
more-tests
Mar 16, 2018
Merged

felixdivo merged 22 commits into
developfrom
more-tests

Conversation

@felixdivo

@felixdivo felixdivo commented Mar 2, 2018 •

Copy link
Copy Markdown
Collaborator

The testing can be found in test/back2back_test.py but is skipped for now, since it fails on Python 3.3/3.4. See #274. I expanded the test/config.py file to contain information about the platform as well. More serious testing remains to be implemented.

I also made small changes to some can.io.* classes and removed the overall repeated logging (like multiple logging statements for each sent message) quite a bit. I also added some tests to listener_test.py.

@felixdivo felixdivo changed the title Added proof-of-concept testing of SocketCAN on Travis CI Added proof-of-concept testing of SocketCAN on Travis CI & Smaller changes Mar 3, 2018

@hardbyte hardbyte left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be a good pr to squash.

Comment thread can/io/player.py Outdated
def __new__(cls, other, filename):
if filename.endswith(".asc"):
if not filename:
TypeError("a filename must be given")

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing raise

@felixdivo
felixdivo merged commit 1051f1e into develop Mar 16, 2018
@felixdivo
felixdivo deleted the more-tests branch March 16, 2018 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants