alexzorin
c178fa8c0b
nginx: on encountering lua directives, produce a better warning ( #9475 )
...
* nginx: capitalise product names in warning message properly
* nginx: don't crash on encountering lua directives, warn instead
* add tests
* undo excess newline
* fix oldest tests: use old camelCase function name
* add missing newline in new testdata
* add tests for _by_lua, which should parse fine
2022-11-30 12:03:51 +11:00
Mads Jensen
ed7964b424
Improve assertions in nginx and DNS plugin tests. ( #9157 )
...
* Improve assertions in nginx and DNS plugin tests.
* Use assertIs for asserting is True/False.
2022-01-04 23:59:58 +01:00
ohemorange
b48e336554
Allow nginx parser to handle empty file ( #8895 )
...
* Allow parsing empty files
* add unit test
* lint
* update parser_test
* Update configurator_test
* update changelog
2021-06-11 09:21:52 +10:00
Adrien Ferrand
e048da1e38
Reorganize imports ( #7616 )
...
* Isort execution
* Fix pylint, adapt coverage
* New isort
* Fix magic_typing lint
* Second round
* Fix pylint
* Third round. Store isort configuration
* Fix latest mistakes
* Other fixes
* Add newline
* Fix lint errors
2019-12-09 15:50:20 -05:00
ohemorange
a8e711d281
Refactor tests out of packaged module for nginx plugin ( #7606 )
...
* Refactor tests out of packaged module for nginx plugin
* Exclude pycache and .py[cod]
2019-11-26 17:45:18 -08:00