Exemple #1
0
 def test_change_color(self):
     s = Slider(self.win, color='black')
     s.color = 'blue'
Exemple #2
0
    def test_change_color(self):
        s = Slider(self.win, color='black')

        with pytest.raises(AttributeError):
            s.color = 'blue'
Exemple #3
0
    def test_change_color(self):
        s = Slider(self.win, color='black')

        with pytest.raises(AttributeError):
            s.color = 'blue'