diff --git a/plinth/modules/tor/tests/test_tor.py b/plinth/modules/tor/tests/test_tor.py index b58c0c0c6..223a6b47c 100644 --- a/plinth/modules/tor/tests/test_tor.py +++ b/plinth/modules/tor/tests/test_tor.py @@ -16,15 +16,15 @@ # """ -Tests for tor module. +Tests for Tor module. """ import os import unittest +from ..tor import is_apt_transport_tor_enabled, get_hs, get_status + euid = os.geteuid() -if euid == 0: - from ..tor import is_apt_transport_tor_enabled, get_hs, get_status class TestTor(unittest.TestCase):