Permalink
Browse files

testUSB1: move inside usb1 package.

This way, tests are installed everywhere without polluting top-level import
namespace. It could then be run to detect installation-environment-specific
issues.
  • Loading branch information...
1 parent 36e160a commit 9afa7dbb4edec806aed3e532518f1137dc663c51 @vpelletier committed Nov 23, 2016
Showing with 4 additions and 2 deletions.
  1. +1 −1 .travis.yml
  2. +3 −0 README.rst
  3. +0 −1 { → usb1}/testUSB1.py
View
@@ -18,7 +18,7 @@ addons:
before_script:
- ./buildTestLibusb.sh https://github.com/libusb/libusb.git libusb.git master v1.0.6 v1.0.20
install: pip install .
-script: python testUSB1.py
+script: python -m usb1.testUSB1
env:
- LD_LIBRARY_PATH=
- LD_LIBRARY_PATH=test-libusb/build/libusb.git/master/lib
View
@@ -364,6 +364,9 @@ initialise asynchronous transfer buffer. As a consequence, usb1 now exposes
Deprecate libusb1 module import, which should not be needed since all (?)
needed constants were re-bound to usb1 module.
+Move testUSB1 module inside usb1, to eventually only expose usb1 as top-level
+module.
+
.. _CPython: http://www.python.org/
.. _pypy: http://pypy.org/
View
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# Copyright (C) 2010-2016 Vincent Pelletier <plr.vincent@gmail.com>
#
# This library is free software; you can redistribute it and/or

0 comments on commit 9afa7db

Please sign in to comment.