diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2017-02-21 14:32:23 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2017-02-21 14:32:23 +0000 |
commit | 5f41c35e5b45dd684a39d2036d6a8a552c50fa95 (patch) | |
tree | 3054728f6835c2adc327b42442d91a387cfa7f1d /net-mgmt/py-pysmi/files | |
parent | 39bbc47899f66b43c9f8dc2d9e290ecfe48a442b (diff) |
Notes
Diffstat (limited to 'net-mgmt/py-pysmi/files')
-rw-r--r-- | net-mgmt/py-pysmi/files/patch-setup.py | 21 | ||||
-rw-r--r-- | net-mgmt/py-pysmi/files/tests__init__.py | 2 |
2 files changed, 12 insertions, 11 deletions
diff --git a/net-mgmt/py-pysmi/files/patch-setup.py b/net-mgmt/py-pysmi/files/patch-setup.py index 48643afcfe3a..9dd5e27e6caa 100644 --- a/net-mgmt/py-pysmi/files/patch-setup.py +++ b/net-mgmt/py-pysmi/files/patch-setup.py @@ -1,12 +1,13 @@ ---- setup.py.orig 2015-11-07 19:23:39 UTC +--- setup.py.orig 2016-02-13 18:11:15 UTC +++ setup.py -@@ -80,7 +80,8 @@ params.update( { - 'pysmi.parser', - 'pysmi.codegen', - 'pysmi.borrower', -- 'pysmi.writer' ], -+ 'pysmi.writer', -+ 'pysmi.tests' ], - 'scripts': [ os.path.join('scripts','mibdump.py') ] - } ) +@@ -83,7 +83,9 @@ params.update({ + 'pysmi.parser', + 'pysmi.codegen', + 'pysmi.borrower', +- 'pysmi.writer'], ++ 'pysmi.writer', ++ 'pysmi.tests', ++ ], + 'scripts': [os.path.join('scripts', 'mibdump.py')] + }) diff --git a/net-mgmt/py-pysmi/files/tests__init__.py b/net-mgmt/py-pysmi/files/tests__init__.py index b6f4cc125c2a..598f43930ba6 100644 --- a/net-mgmt/py-pysmi/files/tests__init__.py +++ b/net-mgmt/py-pysmi/files/tests__init__.py @@ -1,7 +1,7 @@ from unittest import SkipTest, TestSuite -def load_tests(loader, tests, pattern): +def load_tests(*args, **kwargs): import suite return suite.suite |