1
0
Fork 0

run tests in pre-commit

This commit is contained in:
Mateusz Konieczny 2024-07-28 14:01:54 +02:00
parent 6e92f5ef00
commit ffe241349f
2 changed files with 13 additions and 0 deletions

View file

@ -17,3 +17,11 @@ repos:
- id: check-merge-conflict
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: local
hooks:
- id: run-tests
name: Run tests
entry: python3 -m unittest
language: system
pass_filenames: false
stages: [commit]

5
test_processing.py Normal file
View file

@ -0,0 +1,5 @@
import unittest
class RealityTests(unittest.TestCase):
def assert_mathworks(self, tags):
self.assertEqual(2 + 1, 3)