forked from ungleich-public/dynamicweb
clone cms with menus, make menus standalone app
This commit is contained in:
parent
1ece5ce7c7
commit
afb096b7a3
1153 changed files with 318897 additions and 37 deletions
13
cms/tests/test_static_analysis.py
Normal file
13
cms/tests/test_static_analysis.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import os
|
||||
from unittest import TestCase
|
||||
|
||||
from ruff.__main__ import find_ruff_bin
|
||||
|
||||
|
||||
class AboveStaticAnalysisCodeTest(TestCase):
|
||||
"""
|
||||
Name is pretty lame, but ensure it's executed before every other test
|
||||
"""
|
||||
def test_ruff(self):
|
||||
ruff = find_ruff_bin()
|
||||
self.assertEqual(os.spawnv(os.P_WAIT, ruff, ["ruff", "check", "cms", "menus"]), 0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue