mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-07-22 11:59:33 +00:00
removed/skipped deprecated unit-test
This commit is contained in:
parent
702dbf5e61
commit
5cca1f99cf
@ -18,9 +18,6 @@
|
||||
|
||||
import unittest
|
||||
|
||||
from plinth.modules.pagekite.util import convert_to_service, \
|
||||
convert_service_to_string
|
||||
|
||||
|
||||
class TestPagekiteActions(unittest.TestCase):
|
||||
"""Test-cases for the pagekite action utils"""
|
||||
@ -49,13 +46,10 @@ class TestPagekiteActions(unittest.TestCase):
|
||||
},
|
||||
]
|
||||
|
||||
@unittest.skip('Use this test once the function is in the pagekite module '
|
||||
'instead of actions/pagekite_util.py')
|
||||
def test_convert_service_to_string(self):
|
||||
""" Test deconstructing parameter dictionaries into strings """
|
||||
for test in self._tests:
|
||||
service_string = convert_service_to_string(test['params'])
|
||||
self.assertEqual(test['line'], service_string)
|
||||
|
||||
def test_convert_to_service(self):
|
||||
""" Test constructing parameter dictionaries out of string """
|
||||
for test in self._tests:
|
||||
self.assertEqual(test['params'], convert_to_service(test['line']))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user