[LNT] r293983 - Typos and whitespace

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 2 16:52:42 PST 2017


Author: cmatthews
Date: Thu Feb  2 18:52:41 2017
New Revision: 293983

URL: http://llvm.org/viewvc/llvm-project?rev=293983&view=rev
Log:
Typos and whitespace

Modified:
    lnt/trunk/lnt/server/ui/views.py
    lnt/trunk/tests/server/ui/test_matrix_page.py

Modified: lnt/trunk/lnt/server/ui/views.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/views.py?rev=293983&r1=293982&r2=293983&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/views.py (original)
+++ lnt/trunk/lnt/server/ui/views.py Thu Feb  2 18:52:41 2017
@@ -1295,6 +1295,7 @@ class MatrixDataRequest(object):
         self.machine = machine
         self.test = test
         self.field = field
+
     def __repr__(self):
         return "{}:{}({} samples)" \
             .format(self.machine.name,
@@ -1367,7 +1368,6 @@ def v4_matrix():
 
     if not data_parameters:
         abort(404, "Request requires some data arguments.")
-
     # Feature: if all of the results are from the same machine, hide the name to
     # make the headers more compact.
     dedup = True

Modified: lnt/trunk/tests/server/ui/test_matrix_page.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/tests/server/ui/test_matrix_page.py?rev=293983&r1=293982&r2=293983&view=diff
==============================================================================
--- lnt/trunk/tests/server/ui/test_matrix_page.py (original)
+++ lnt/trunk/tests/server/ui/test_matrix_page.py Thu Feb  2 18:52:41 2017
@@ -37,7 +37,7 @@ class MatrixViewTester(unittest.TestCase
         self.client = app.test_client()
 
     def test_config_errors(self):
-        """Does passing bad arugments to matrix view error correctly.
+        """Does passing bad arguments to matrix view error correctly.
         """
         client = self.client
         reply = check_code(client, '/v4/nts/matrix',
@@ -49,7 +49,7 @@ class MatrixViewTester(unittest.TestCase
         self.assertIn("No data found.", reply.data)
         
         reply = check_code(client, '/v4/nts/matrix?plot.0=a.2.0',
-                            expected_code=HTTP_BAD_REQUEST)
+                           expected_code=HTTP_BAD_REQUEST)
         self.assertIn("malformed", reply.data)
 
         reply = check_code(client, '/v4/nts/matrix?plot.0=999.0.0',




More information about the llvm-commits mailing list