[LNT] r198668 - Fix test which was broken when Overview page was replaced with recent activity page.

Chris Matthews cmatthews5 at apple.com
Mon Jan 6 18:39:40 PST 2014


Author: cmatthews
Date: Mon Jan  6 20:39:39 2014
New Revision: 198668

URL: http://llvm.org/viewvc/llvm-project?rev=198668&view=rev
Log:
Fix test which was broken when Overview page was replaced with recent activity page.

Modified:
    lnt/trunk/tests/server/db/Migrations.py

Modified: lnt/trunk/tests/server/db/Migrations.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/tests/server/db/Migrations.py?rev=198668&r1=198667&r2=198668&view=diff
==============================================================================
--- lnt/trunk/tests/server/db/Migrations.py (original)
+++ lnt/trunk/tests/server/db/Migrations.py Mon Jan  6 20:39:39 2014
@@ -40,8 +40,8 @@ def sanity_check_instance(instance_path)
         logging.info("visiting test suite %r", name)
 
         # Get the test suite overview page.
-        overview = client.get(os.path.join("/", link, ""))
-        assert "LNT : %s - Overview" % (name,) in overview.data
+        overview = client.get(os.path.join("/", link))
+        assert "LNT : %s - Recent Activity" % (name,) in overview.data
 
 def check_instance(instance_path, temp_path):
     logging.info("checking instance: %r", instance_path)





More information about the llvm-commits mailing list