mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-14 18:07:22 +00:00
file upload integration test working
This commit is contained in:
@@ -25,6 +25,7 @@ todo = '''ADD TESTS when we are redirecting /expofiles/ to a remote file-deliver
|
||||
|
||||
import unittest
|
||||
import re
|
||||
from http import HTTPStatus
|
||||
from django.test import TestCase, SimpleTestCase, Client
|
||||
|
||||
|
||||
@@ -170,8 +171,6 @@ class PageTests(TestCase):
|
||||
ph = r'All Survey scans folders '
|
||||
content = response.content.decode()
|
||||
phmatch = re.search(ph, content)
|
||||
# with open('ss-op.html', 'w') as f:
|
||||
# f.write(content)
|
||||
self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user