Browse Source

Fix test runner

Jakub Valenta 4 months ago
parent
commit
9e699830ef
5 changed files with 5 additions and 8 deletions
  1. 0 1
      .gitignore
  2. 2 2
      Makefile
  3. 0 0
      tests/test_account_statement.py
  4. 2 3
      setup.py
  5. 1 2
      tox.ini

+ 0 - 1
.gitignore

@@ -6,4 +6,3 @@ __pycache__
 build
 dist
 tests/_*
-reports

+ 2 - 2
Makefile

@@ -1,7 +1,7 @@
 .PHONY: test lint help
 
-test: ## Run unit tests and linting
-	tox
+test: ## Run unit tests
+	tox -e py37
 
 lint: ## Run linting
 	tox -e lint isort

+ 0 - 0
tests/test_account_statement.py


+ 2 - 3
setup.py

@@ -9,7 +9,7 @@ with open(path.join(here, 'README.md'), encoding='utf-8') as f:
     long_description = f.read()
 
 setup(
-    name='account_statement',
+    name='account-statement',
 
     version='1.0.0',
 
@@ -32,14 +32,13 @@ setup(
         'Programming Language :: Python :: 3.6',
     ],
 
-    keywords='',
-
     packages=find_packages(),
 
     install_requires=[
         'attrs',
         'listio',
         'python-aqbanking',
+        'pyyaml',
         'requests',
     ],
 

+ 1 - 2
tox.ini

@@ -1,11 +1,10 @@
 [tox]
 envlist = py37, lint, isort
 skip_missing_interpreters = True
-skipsdist = True
 
 [testenv]
 deps = pytest
-commands = py.test --junitxml=reports/junit-{envname}.xml
+commands = pytest account_statement/tests
 
 [testenv:lint]
 deps =