Fix checks
This commit is contained in:
parent
6609fc8503
commit
c82e050deb
@ -20,6 +20,7 @@
|
||||
import os
|
||||
from contextlib import contextmanager
|
||||
|
||||
|
||||
@contextmanager
|
||||
def environ_set_temp(name, value):
|
||||
"""Set a temporary environment variable."""
|
||||
|
@ -15,14 +15,16 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# pylint: disable=missing-docstring
|
||||
|
||||
"""Test test helpers."""
|
||||
|
||||
import os
|
||||
import unittest
|
||||
from unittest import TestCase
|
||||
|
||||
from qutebrowser.test.helpers import environ_set_temp
|
||||
|
||||
|
||||
class TestEnvironSetTemp(TestCase):
|
||||
|
||||
def test_environ_set(self):
|
||||
|
Loading…
Reference in New Issue
Block a user