Skip to content

Commit 1ad1b5b

Browse files
Refactor tests to use the PyTest framework
1 parent e756a94 commit 1ad1b5b

File tree

7 files changed

+440
-342
lines changed

7 files changed

+440
-342
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ install:
99
# command to run tests
1010
script:
1111
# Formatting compliance test
12-
- python -m unittest karma.karma_tests
12+
- pytest
1313
- pycodestyle --show-source --show-pep8 --ignore=E121,E123,E126,E133,E226,E241,E242,E704,W503,W504,E402 --max-line-length=300 karma/* commands/* migrations/* apollo.py models.py
1414

1515
# Discord notifications

alembic.tests.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ script_location = migrations
3535
# are written from script.py.mako
3636
# output_encoding = utf-8
3737

38-
sqlalchemy.url = sqlite:///test.db
38+
sqlalchemy.url = sqlite:///:memory:
3939

4040

4141
# Logging configuration

karma/karma_tests.py

Lines changed: 0 additions & 340 deletions
This file was deleted.

tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)