Skip to content

Commit 9b234b4

Browse files
authored
Removed extra unit tests - speeds up the unit tests from 3.5 minutes to less than 60 seconds (#118)
1 parent 5e51ae0 commit 9b234b4

14 files changed

+321
-14044
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
## Unreleased
44
* Docker
55

6+
## 0.2.3 (Unreleased)
7+
* UI
8+
* Credentials Exposure as a new finding (`#99`)
9+
* Service Wildcard as a new finding (`#82`)
10+
* Inline Explanation of findings (`#115`)
11+
* Better formatting for Privilege Escalation findings (`#114`)
12+
* Exclusions config is in its own tab in the UI (`#107`)
13+
* Backend
14+
* Vue components are cleaned up - less HTML, more config and JS
15+
* Unit tests are down from 3.25 minutes to 60 seconds (Fixes #117)
16+
617
## 0.2.2 (2020-10-01)
718
* Excluded actions no longer show up in results (Fixes #106)
819
* Fixed issue where `*:*` policy would break results due to how the Service Wildcard finding was implemented (Fixes #109)

cloudsplaining/__init__.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
# pylint: disable=missing-module-docstring
22
import logging
3-
3+
# import sys
44
# Set default logging handler to avoid "No handler found" warnings.
55
from logging import NullHandler
66

77
logging.getLogger(__name__).addHandler(NullHandler())
8+
# Uncomment to get the full debug logs.
9+
# 2020-10-06 10:04:17,200 - root - DEBUG - Leveraging the bundled IAM Definition.
10+
# Need to figure out how to get click_log to do this for me.
11+
# root = logging.getLogger()
12+
# root.setLevel(logging.DEBUG)
13+
# handler = logging.StreamHandler(sys.stdout)
14+
# formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
15+
# handler.setFormatter(formatter)
16+
# root.addHandler(handler)
17+
818
name = "cloudsplaining" # pylint: disable=invalid-name

0 commit comments

Comments
 (0)