File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
py_gnome/tests/unit_tests/test_utilities Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -30,24 +30,3 @@ def test_spill_appearance_save_load():
30
30
assert json_ ['foo' ] == 'bar'
31
31
assert '.json' in json_ ['colormap' ]
32
32
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
-
You can’t perform that action at this time.
0 commit comments