mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-16 10:27:17 +00:00
Complaints now on wallet page
This commit is contained in:
@@ -81,6 +81,9 @@ class PostTests(TestCase):
|
||||
def test_scan_upload(self):
|
||||
'''Expect scan upload to wallet to work on any file
|
||||
Need to login first.
|
||||
|
||||
This upload form looks for the cave, so the test fails if the database is not loaded with the cave
|
||||
identified in the wallet
|
||||
'''
|
||||
c = self.client
|
||||
from django.contrib.auth.models import User
|
||||
@@ -99,8 +102,8 @@ class PostTests(TestCase):
|
||||
for ph in [ r'test_upload_',
|
||||
r'← 2020#00 →',
|
||||
r'description written',
|
||||
r'plan not required',
|
||||
r'Upload scan into wallet']:
|
||||
r'Plan not required',
|
||||
r'edit settings or upload a file']:
|
||||
phmatch = re.search(ph, content)
|
||||
self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user