Justin Shacklette
saturnboy

Organizations

@Boulder-iOS @ActivisionGameScience
Jul 6, 2016
@saturnboy
Jul 6, 2016
@saturnboy
add contains_only() collection assertion
Jul 5, 2016
@saturnboy

@argos83 i'm super familiar with soft assertions in AssertJ. The existing soft assertion impl is really just a warning as you pointed out, so not r…

Jun 2, 2016
@saturnboy
  • @saturnboy b9766fd
    for dicts: is_subset_of() and has_foo()
May 12, 2016
@saturnboy
May 12, 2016
@saturnboy
dynamic attribute assertions for dicts
May 12, 2016
@saturnboy
May 12, 2016
@saturnboy
is_type_of and is_instance_of support for ABC/Metaclass
1 commit with 44 additions and 11 deletions
May 12, 2016
saturnboy commented on pull request ActivisionGameScience/assertpy#52
@saturnboy

@skippyprime awesome! coming from java I use @abc.abstractmethod often...just never got around to making the assertions work

May 8, 2016
@saturnboy
resolves issue #50
May 8, 2016
saturnboy commented on pull request ActivisionGameScience/assertpy#51
@saturnboy

@ghostsquad thanks for suggestion...added a similar _check_dict_like() helper that does the work of raising a TypeError with a nice message

May 8, 2016
@saturnboy

Just extended is_subset_of() to work correctly with dicts. This passes: assert_that({'a': 1, 'b': 2}).is_subset_of({'a': 1, 'b': 2, 'c': 3}) This f…

May 8, 2016
@saturnboy
May 8, 2016
@saturnboy
dictionary subset assertion
May 6, 2016
@saturnboy

@ghostsquad thanks for the PR, let me think on the API...

Apr 27, 2016
@saturnboy
dynamic attribute assertions for dicts