Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andykee committed Jul 8, 2020
1 parent 3a98460 commit 1c46428
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ def test_cache_delete():
assert 'value' not in cache.keys()


def test_cache_delete_no_key():
cache = lentil.cache.Cache()
cache.delete('value')


def test_cache_clear():
cache = lentil.cache.Cache()
value = np.random.random()
Expand Down
1 change: 1 addition & 0 deletions tests/test_plane.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def test_default_plane():
assert p.mask == p.amplitude
assert p.segmask is None
assert p.nseg == 0
assert p.cache_attrs == ['amplitude', 'phase']


def test_set_plane_attrs_none():
Expand Down

0 comments on commit 1c46428

Please sign in to comment.