15 lines
313 B
Python
15 lines
313 B
Python
import unittest
|
|
|
|
from dnscrypt_to_smartdns import get_smartdns_config
|
|
|
|
|
|
class MyTestCase(unittest.TestCase):
|
|
def test_get_smartdns_config(self):
|
|
conf_text = get_smartdns_config()
|
|
# print(conf_text)
|
|
self.assertIsInstance(conf_text, str)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|