def test_http_publish_dir(self, mock_validate_usable_directory): error_messages = [] http_publish_dir = "/foo/bar/baz/" configuration._validate_http_publish_dir(http_publish_dir, error_messages) mock_validate_usable_directory.assert_called_once_with("http_publish_dir", http_publish_dir, error_messages)
def test_http_publish_dir(self, mock_validate_usable_directory): error_messages = [] http_publish_dir = '/foo/bar/baz/' configuration._validate_http_publish_dir(http_publish_dir, error_messages) mock_validate_usable_directory.assert_called_once_with('http_publish_dir', http_publish_dir, error_messages)