def test_upper(self): nt.assert_equal('pp', viz._check_ax_type('PP')) nt.assert_equal('qq', viz._check_ax_type('QQ')) nt.assert_equal('prob', viz._check_ax_type('ProB'))
def test_bad_value(self): viz._check_ax_type("JUNK")