Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Greg Guthe 9de9554383
update pytest and pytest plugins (#315)
* update pytest and pytest plugins

* conftest: add rationale and service markers

* s/get_marker/get_closest_marker/

> #4546: Remove Node.get_marker(name) the return value was not usable for more than a existence check.
>
> Use Node.get_closest_marker(name) as a replacement.

https://docs.pytest.org/en/6.0.2/changelog.html#pytest-4-1-0-2019-01-05

* replace removed _genid with nodeid

* aws: fix typo in iam_users_with_policies_and_groups docstring

Co-authored-by: Hal Wine <132412+hwine@users.noreply.github.com>

* add get_param_id to top level helpers

* handle test idfns failing with NotSetType for offline empty param lists

fix confusing pytest parmetrize doctest errors

* Fixes for pytest upgrade and new datetime parsing

* Create a new global for our CustomConfig obj
* Fix parameterize id calls where it's getting a list
* Use timezone info in datetime related tests

* Fix formatting + use get_param_id in redshift helpers

* switch ordering on rds id func for unit tests

Co-authored-by: Hal Wine <132412+hwine@users.noreply.github.com>
Co-authored-by: AJ Bahnken <aj@ajvb.me>
2020-09-15 15:20:38 -04:00
AJ Bahnken fafff36c23
Upgrade black and use python 3.8 in TravisCI (#301)
* Upgrade black and use python 3.8

* Upgrade to using python 3.8 in travis
2020-06-25 14:41:22 -07:00
AJ Bahnken e5da7eadbc
Change linter/formatter to black (#123)
* Change CI lint check to use black

* reformat codebase using black
2018-06-27 15:32:14 -07:00
AJ Bahnken bef7b75af3
Config refactor (#94)
* initial refactor to single custom config file

* further implemented regression into actual results

* some bug fixes

* fixed doctests for severity.py and exemptions.py

* initial pass at README for config refactor

* remove whitelisted_ports global

* Added doctest to regressions.py

* Removed --aws-require-tag and --aws-whitelisted-ports CLI opts

* Expanded upon the README of the new config file.

* minor README tweaks
2018-02-26 12:44:01 -08:00
Greg Guthe eb4308ec86
Update warning in severity docstest 2018-02-02 15:30:19 -05:00
Greg Guthe 66dab06de9
Merge pull request #58 from mozilla-services/fix-severity-warning
fix severity warning (allowing all whitespace not just tabs)
2018-02-02 11:56:37 -05:00
Greg Guthe 8d13922cf7
fix severity warning (allowing all whitespace not just tabs) 2018-02-02 10:13:08 -05:00
AJ Bahnken 98f8ec9aaa Doctest improvements/fixes
* Made BotocoreClient.extract_key docstring a doctest
* Fixed order dependence in doct tests
2018-02-01 14:21:24 -08:00
Greg Guthe 43d14af890
fix error for no severity conf arg 2018-01-31 15:01:43 -05:00
Greg Guthe 6a7b769fdf
add test severity config options
fixes #28
2018-01-31 11:23:46 -05:00