Skip to content

Commit

Permalink
Merge pull request #124 from JVT038/add-tests
Browse files Browse the repository at this point in the history
Switch to pytest
  • Loading branch information
JVT038 authored Jan 29, 2024
2 parents b3cd614 + d98ff33 commit 6580b8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ sponsorblock.py==0.2.2
python-dateutil==2.8.2
python-dotenv==1.0.1
python-magic==0.4.27
pytest==8.0.0
ffmpeg-python==0.2.0
youtube-search-python==1.6.6
spotipy==2.23.0
Expand Down
2 changes: 1 addition & 1 deletion tests/testDatabase.py → tests/test_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class TestConfig(Config):
# SQLALCHEMY_DATABASE_URI = os.path.join('sqlite:///', basedir, 'metatube/test.db')
# SQLALCHEMY_DATABASE_URI = 'sqlite://'

class TestAutoMigration(unittest.TestCase):
class TestDatabase(unittest.TestCase):
def setUp(self):
self.app = create_app(TestConfig)
self.app_context = self.app.app_context()
Expand Down

0 comments on commit 6580b8c

Please sign in to comment.