Beispiel #1
0
    def test_success(self):
        f = BaseFacio()
        f.success('Foo')

        self.mocked_facio_base_puts.called_once_with('Success: Foo')
Beispiel #2
0
    def test_warning(self):
        f = BaseFacio()
        f.warning('Foo')

        self.mocked_facio_base_puts.called_once_with('Warning: Foo')
Beispiel #3
0
    def test_error(self):
        f = BaseFacio()
        f.error('Foo')

        self.mocked_facio_base_puts.called_once_with('Error: Foo')
Beispiel #4
0
    def test_out(self):
        f = BaseFacio()
        f.out('Foo')

        self.mocked_facio_base_puts.called_once_with('Foo')
Beispiel #5
0
    def test_success(self):
        f = BaseFacio()
        f.success('Foo')

        self.mocked_facio_base_puts.called_once_with('Success: Foo')
Beispiel #6
0
    def test_error(self):
        f = BaseFacio()
        f.error('Foo')

        self.mocked_facio_base_puts.called_once_with('Error: Foo')
Beispiel #7
0
    def test_warning(self):
        f = BaseFacio()
        f.warning('Foo')

        self.mocked_facio_base_puts.called_once_with('Warning: Foo')
Beispiel #8
0
    def test_out(self):
        f = BaseFacio()
        f.out('Foo')

        self.mocked_facio_base_puts.called_once_with('Foo')