Browse Source

Fix test runner

master
Jakub Valenta 9 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
      account_statement/tests/test_account_statement.py
  4. 2
    3
      setup.py
  5. 1
    2
      tox.ini

+ 0
- 1
.gitignore View File

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

+ 2
- 2
Makefile View File

@@ -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

tests/test_account_statement.py → account_statement/tests/test_account_statement.py View File


+ 2
- 3
setup.py View File

@@ -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 View File

@@ -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 =

Loading…
Cancel
Save