aboutsummaryrefslogtreecommitdiff
path: root/test/test_compat.py
diff options
context:
space:
mode:
authorRandom User <rndusr@posteo.de>2017-03-25 21:36:59 +0100
committerRandom User <rndusr@posteo.de>2017-03-25 21:36:59 +0100
commit4f06c1c9fcbfbc74b81b5fa89a616914b5ce5aad (patch)
treea51b702e001d350b908780a119f76d8ea706d511 /test/test_compat.py
parentc73e330e7adc9c0c15ac51aeea8fbb7dad95351a (diff)
parent942b44a0525f677924c660bcb00902d705d91fc2 (diff)
Merge branch 'master' of github.com-rndusr:rg3/youtube-dl into fix/str-item-assignment
Diffstat (limited to 'test/test_compat.py')
-rw-r--r--test/test_compat.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_compat.py b/test/test_compat.py
index b57424948..d6c54e135 100644
--- a/test/test_compat.py
+++ b/test/test_compat.py
@@ -27,11 +27,11 @@ from youtube_dl.compat import (
class TestCompat(unittest.TestCase):
def test_compat_getenv(self):
test_str = 'тест'
- compat_setenv('YOUTUBE-DL-TEST', test_str)
- self.assertEqual(compat_getenv('YOUTUBE-DL-TEST'), test_str)
+ compat_setenv('YOUTUBE_DL_COMPAT_GETENV', test_str)
+ self.assertEqual(compat_getenv('YOUTUBE_DL_COMPAT_GETENV'), test_str)
def test_compat_setenv(self):
- test_var = 'YOUTUBE-DL-TEST'
+ test_var = 'YOUTUBE_DL_COMPAT_SETENV'
test_str = 'тест'
compat_setenv(test_var, test_str)
compat_getenv(test_var)