[virt-tools-list] [virt-bootstrap] [PATCH 2/7] tests: Add empty line at the end of file

Cedric Bosdonnat cbosdonnat at suse.com
Thu Mar 1 09:25:44 UTC 2018


On Wed, 2018-02-28 at 00:11 +0000, Radostin Stoyanov wrote:
> Resolves pylint: "W292 no newline at end of file"
> ---
>  tests/docker_source.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/docker_source.py b/tests/docker_source.py
> index c8f4e08..a921bb8 100644
> --- a/tests/docker_source.py
> +++ b/tests/docker_source.py
> @@ -379,4 +379,4 @@ class TestDockerSource(unittest.TestCase):
>          with mock.patch('os.path.getsize') as m_getsize:
>              m_getsize.return_value = None
>              src_instance = self._mock_retrieve_layers_info(manifest, kwargs)[0]
> -        self.assertEqual(src_instance.layers, expected_result)
> \ No newline at end of file
> +        self.assertEqual(src_instance.layers, expected_result)

ACK

--
Cedric




More information about the virt-tools-list mailing list