diff --git a/Makefile b/Makefile index f4766d2..0cdfa87 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ fix-lint: .PHONY: test test: - coverage run --source='basest' tests/__main__.py + coverage run --source='basest' -m py.test .PHONY: cover cover: diff --git a/python_requirements/test.txt b/python_requirements/test.txt index 6885ad7..fc0789c 100644 --- a/python_requirements/test.txt +++ b/python_requirements/test.txt @@ -4,3 +4,4 @@ isort>=4.2,<4.3 ddt>=1.1,<1.2 coverage>=4.1,<4.2 mock>=2.0,<2.1 +pytest==3.9.3 diff --git a/setup.cfg b/setup.cfg index a9f1547..1cfdf43 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,3 +3,6 @@ universal = 1 [metadata] license-file = LICENSE + +[tool:pytest] +python_files = test_*.py diff --git a/setup.py b/setup.py index 996c065..ad1b675 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def parse_requirements(filepath): setup( name='basest', - version='0.7.3', + version='0.7.4.dev1', description='Arbitrary base binary-to-text encoder (any base to any base)', long_description=open( os.path.join(os.path.dirname(__file__), 'README.md') diff --git a/tests/__main__.py b/tests/__main__.py deleted file mode 100644 index 7c787a8..0000000 --- a/tests/__main__.py +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# -# Copyright (C) 2016, 2018, Joshua Saxby -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# -from __future__ import ( - absolute_import, division, print_function, unicode_literals -) - -import unittest - - -if __name__ == '__main__': - loader = unittest.TestLoader() - tests = loader.discover('.') - testRunner = unittest.runner.TextTestRunner() - testRunner.run(tests) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy