diff options
| author | John Estabrook <jestabro@vyos.io> | 2023-05-11 11:48:51 -0500 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-11 11:48:51 -0500 | 
| commit | d051e9def858060f808773abeb14a41a16df7baa (patch) | |
| tree | c7e59bc8f6fe3a32da52c99757d08b64b05cbc81 /src/tests/test_util.py | |
| parent | c3f957b9bfc7233fe08d4dd65b80abf92097c81b (diff) | |
| parent | c739eb23bb260ebb5ae595633c32a2956974a16a (diff) | |
| download | vyos-1x-d051e9def858060f808773abeb14a41a16df7baa.tar.gz vyos-1x-d051e9def858060f808773abeb14a41a16df7baa.zip  | |
Merge pull request #2000 from dmbaturin/T5195-remove-snake-case-function
vyos.util: T5195: remove the unused camel case to snake case function
Diffstat (limited to 'src/tests/test_util.py')
| -rw-r--r-- | src/tests/test_util.py | 16 | 
1 files changed, 1 insertions, 15 deletions
diff --git a/src/tests/test_util.py b/src/tests/test_util.py index d8b2b7940..473052bef 100644 --- a/src/tests/test_util.py +++ b/src/tests/test_util.py @@ -1,6 +1,6 @@  #!/usr/bin/env python3  # -# Copyright (C) 2020-2022 VyOS maintainers and contributors +# Copyright (C) 2020-2023 VyOS maintainers and contributors  #  # This program is free software; you can redistribute it and/or modify  # it under the terms of the GNU General Public License version 2 or later as @@ -26,17 +26,3 @@ class TestVyOSUtil(TestCase):      def test_sysctl_read(self):          self.assertEqual(sysctl_read('net.ipv4.conf.lo.forwarding'), '1') - -    def test_camel_to_snake_case(self): -        self.assertEqual(camel_to_snake_case('ConnectionTimeout'), -                                             'connection_timeout') -        self.assertEqual(camel_to_snake_case('connectionTimeout'), -                                             'connection_timeout') -        self.assertEqual(camel_to_snake_case('TCPConnectionTimeout'), -                                             'tcp_connection_timeout') -        self.assertEqual(camel_to_snake_case('TCPPort'), -                                             'tcp_port') -        self.assertEqual(camel_to_snake_case('UseHTTPProxy'), -                                             'use_http_proxy') -        self.assertEqual(camel_to_snake_case('CustomerID'), -                                             'customer_id')  | 
