Fix checks

This commit is contained in:
Florian Bruhin 2014-05-09 08:46:14 +02:00
parent 6609fc8503
commit c82e050deb
2 changed files with 4 additions and 1 deletions

View File

@ -20,6 +20,7 @@
import os
from contextlib import contextmanager
@contextmanager
def environ_set_temp(name, value):
"""Set a temporary environment variable."""

View File

@ -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):