mirror of
https://codeberg.org/matkoniecz/list_how_openstreetmap_can_be_improved_with_alltheplaces_data.git
synced 2025-04-11 01:59:30 +02:00
run tests in pre-commit
This commit is contained in:
parent
6e92f5ef00
commit
ffe241349f
2 changed files with 13 additions and 0 deletions
|
@ -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
5
test_processing.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
import unittest
|
||||
|
||||
class RealityTests(unittest.TestCase):
|
||||
def assert_mathworks(self, tags):
|
||||
self.assertEqual(2 + 1, 3)
|
Loading…
Add table
Reference in a new issue