Skip to content

Commit

Permalink
ci: add test_zplayer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed Sep 2, 2023
1 parent f416ffa commit ef94dec
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions tests/test_zplayer.py
@@ -0,0 +1,28 @@
# Tests ZPlayer.
#
# To run:
#
# python tests/test_zplayer.py

import sys
import os
import unittest
from pathlib import Path

script_dir = Path(os.path.dirname(os.path.realpath(__file__)))
root_dir = script_dir.parent

sys.path.append(str((root_dir / 'scripts').absolute()))
import run_target

class TestZPlayer(unittest.TestCase):
def setUp(self):
self.maxDiff = None

def test_file_new(self):
run_target.check_run('zplayer', [
'-test-zc',
])

if __name__ == '__main__':
unittest.main()

0 comments on commit ef94dec

Please sign in to comment.