removed/skipped deprecated unit-test

This commit is contained in:
fonfon 2015-05-04 10:40:19 +02:00
parent 702dbf5e61
commit 5cca1f99cf

View File

@ -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']))