summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/HosterPluginTester.py2
-rwxr-xr-xtests/hosterlinks.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/HosterPluginTester.py b/tests/HosterPluginTester.py
index b985c6687..ad71be0d2 100644
--- a/tests/HosterPluginTester.py
+++ b/tests/HosterPluginTester.py
@@ -64,7 +64,7 @@ class HosterPluginTester(PluginTester):
raise Exception("File %s does not exists." % pyfile.name)
hash = md5()
- f = open(save_join(DL_DIR, pyfile.name))
+ f = open(save_join(DL_DIR, pyfile.name), "rb")
while True:
buf = f.read(4096)
if not buf: break
diff --git a/tests/hosterlinks.txt b/tests/hosterlinks.txt
index 6ac19f098..70dcc44f6 100755
--- a/tests/hosterlinks.txt
+++ b/tests/hosterlinks.txt
@@ -5,8 +5,8 @@
http://download.pyload.org/random.bin
random.bin d76505d0869f9f928a17d42d66326307
-Mořská želva ( Зелёная черепаха .&+ 綠蠵龜 _@- Đồi mồi dứa ).tar 992d0871f7dbbe0e46747f1e37ba9123
-Mořská_želva_(_Зелёная_черепаха_.&+_綠蠵龜__@-_Đồi_mồi_dứa_).tar 992d0871f7dbbe0e46747f1e37ba9123
+Mořská želva ( Зелёная черепаха .&+ 綠蠵龜 _@- Đồi mồi dứa ).tar 932212256dc0b0a1e71c0944eef633a4
+Mořská_želva_(_Зелёная_черепаха_.&+_綠蠵龜__@-_Đồi_mồi_dứa_).tar 932212256dc0b0a1e71c0944eef633a4
# Hoster links, append ||offline or ||fail to mark your expectation