From aa61123937bc1d04f882512dc2159def134da3ac Mon Sep 17 00:00:00 2001
From: Henrik Levkowetz <henrik@levkowetz.com>
Date: Thu, 12 May 2016 13:47:10 +0000
Subject: [PATCH] Modified a few tests to handle the improved handling of error
 messages (not conflating them with help text any more).  - Legacy-Id: 11181

---
 ietf/liaisons/tests.py | 2 +-
 ietf/submit/tests.py   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ietf/liaisons/tests.py b/ietf/liaisons/tests.py
index 71366522a..7b7f98a44 100644
--- a/ietf/liaisons/tests.py
+++ b/ietf/liaisons/tests.py
@@ -944,7 +944,7 @@ class LiaisonManagementTests(TestCase):
         r = self.client.post(url,post_data)
         if r.status_code != 302:
             q = PyQuery(r.content)
-            print(q('div.has-error span.help-block div').text())
+            print(q('div.has-error div.alert').text())
             print r.content
         self.assertEqual(r.status_code, 302)
         self.assertEqual(liaison.attachments.count(),2)
diff --git a/ietf/submit/tests.py b/ietf/submit/tests.py
index c4be4dfc8..68bcb080a 100644
--- a/ietf/submit/tests.py
+++ b/ietf/submit/tests.py
@@ -108,7 +108,7 @@ class SubmitTests(TestCase):
         r = self.client.post(url, files)
         if r.status_code != 302:
             q = PyQuery(r.content)
-            print(q('div.has-error span.help-block div').text)
+            print(q('div.has-error div.alert').text)
 
         self.assertEqual(r.status_code, 302)
 
@@ -785,7 +785,7 @@ class SubmitTests(TestCase):
         self.assertEqual(r.status_code, 200)
         q = PyQuery(r.content)
         self.assertTrue(len(q("form .has-error")) > 0)
-        m = q('div.has-error span.help-block').text()
+        m = q('div.has-error div.alert').text()
 
         return r, q, m