my eye

Fix test results summary

Committed bed39c

--- a/webint_code/templates/project/index.html
+++ b/webint_code/templates/project/index.html

         $ test_color = "red"
         $ test_indicator = "■"
         $ plural = ""
-        $if len(test_results["errors"] > 1:
+        $if len(test_results["errors"]) > 1:
             $ plural = "s"
         $ test_msg = f"{test_results['errors']} test{plural} of {test_results['tests']} failing"
     $else:
         $ test_color = "green"
         $ test_indicator = "●"
         $ plural = ""
-        $if len(test_results["tests"] > 1:
+        $if len(test_results["tests"]) > 1:
             $ plural = "s"
-            $ test_msg = f"{test_results['tests']} test{plural} passing"
+        $ test_msg = f"{test_results['tests']} test{plural} passing"
     <span style=color:$test_color>$:test_indicator</span>
     $test_msg in $test_results["time"]<small>s</small></p>