-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1.1.0] Merging completed milestones for 1.1 (#14)
Implements: - #1 Redaction of `DEBUG` event printing interface to prevent information leaks in logs. - #5 Chained Lambda Invocations with Timeout Support - #11 Removes dependency on `botocore.vendored.requests` allowing for Python3.8 based Lambda support. - #2 (Partial) Includes some new Unit Tests and Functional Tests
- Loading branch information
1 parent
d7afee0
commit 5b2ae14
Showing
27 changed files
with
1,781 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
build: egg-info | ||
python setup.py sdist | ||
|
||
egg-info: accustom.egg-info | ||
|
||
accustom.egg-info: | ||
python setup.py egg_info | ||
|
||
clean: clean_build clean_egg | ||
|
||
clean_egg: | ||
rm -fdr accustom.egg-info | ||
|
||
clean_build: | ||
rm -fdr dist | ||
|
||
.PHONY: build egg-info clean clean_egg clean_build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
# Bring exceptions into the root of the submodule | ||
|
||
from .exceptions import CannotApplyRuleToStandaloneRedactionConfig | ||
from .exceptions import ConflictingValue | ||
from .exceptions import NoPhysicalResourceIdException | ||
from .exceptions import InvalidResponseStatusException | ||
from .exceptions import DataIsNotDictException | ||
from .exceptions import FailedToSendResponseException | ||
from .exceptions import NotValidRequestObjectException |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
from accustom import Status | ||
from accustom import RequestType | ||
from accustom import RedactMode | ||
|
||
from unittest import TestCase, main as umain | ||
|
||
|
||
class StatusTests(TestCase): | ||
def test_success(self): | ||
self.assertEqual('SUCCESS', Status.SUCCESS) | ||
|
||
def test_failed(self): | ||
self.assertEqual('FAILED', Status.FAILED) | ||
|
||
|
||
class RequestTypeTests(TestCase): | ||
def test_create(self): | ||
self.assertEqual('Create', RequestType.CREATE) | ||
|
||
def test_update(self): | ||
self.assertEqual('Update', RequestType.UPDATE) | ||
|
||
def test_delete(self): | ||
self.assertEqual('Delete', RequestType.DELETE) | ||
|
||
|
||
class RedactModeTests(TestCase): | ||
def test_blacklist(self): | ||
self.assertEqual('black', RedactMode.BLACKLIST) | ||
|
||
def test_whitelist(self): | ||
self.assertEqual('white', RedactMode.WHITELIST) | ||
|
||
|
||
if __name__ == '__main__': | ||
umain() |
Oops, something went wrong.