<s> from unittest import TestCase <EOL> from pybuilder . core import Project <EOL> from test_utils import Mock , patch <EOL> from logging import Logger <EOL> from pybuilder . plugins . python . pep8_plugin import ( <EOL> check_pep8_available , <EOL> init_pep8_properties <EOL> ) <EOL> class CheckPep8AvailableTests ( TestCase ) : <EOL> @ patch ( '<STR_LIT>' ) <EOL> def test_should_check_that_pylint_can_be_executed ( self , mock_assert_can_execute ) : <EOL> mock_logger = Mock ( Logger ) <EOL> check_pep8_available ( mock_logger ) <EOL> expected_command_line = ( '<STR_LIT>' , ) <EOL> mock_assert_can_execute . assert_called_with ( expected_command_line , '<STR_LIT>' , '<STR_LIT>' ) <EOL> def test_should_set_dependency ( self ) : <EOL> mock_project = Mock ( Project ) <EOL> init_pep8_properties ( mock_project ) <EOL> mock_project . plugin_depends_on . assert_called_with ( '<STR_LIT>' ) </s>
