Skip to content

Commit 1cbe790

Browse files
removed broken appearance test
1 parent 3649d38 commit 1cbe790

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

py_gnome/tests/unit_tests/test_utilities/test_appearance.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -30,24 +30,3 @@ def test_spill_appearance_save_load():
3030
assert json_['foo'] == 'bar'
3131
assert '.json' in json_['colormap']
3232

33-
def test_appearance_attr_not_there():
34-
"""
35-
Appearance object create themselves
36-
with whatever attribute are passed in.
37-
38-
But as WebGnome develops, we add attributes
39-
-- but then newer code may expect attributes that
40-
aren't there in older save files.
41-
42-
So when an attribute is accessed that doesn't
43-
exist -- it should return None, rather than raising an error
44-
"""
45-
cm = Colormap(k1='v1')
46-
sa_attribs = {'foo': 'bar', 'baz': 'bin', 'colormap': cm}
47-
app = SpillAppearance(**sa_attribs)
48-
49-
print(dir(app))
50-
51-
assert False
52-
53-

0 commit comments

Comments
 (0)