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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux