Skip to content

Commit

Permalink
failing test for AspenWeb/pando.py#429
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed Sep 7, 2016
1 parent e917679 commit 0bdd749
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_mappings.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ def test_mapping_all_returns_list_of_all_values():
actual = m.all('foo')
assert actual == expected

def test_mapping_all_returns_empty_list_when_key_is_missing():
m = Mapping()
expected = []
actual = m.all('foo')
assert actual == expected

def test_mapping_ones_returns_list_of_last_values():
m = Mapping()
m['foo'] = 1
Expand Down

0 comments on commit 0bdd749

Please sign in to comment.