            (accumulate-testsuite-failures [[(a-testsuite "suite"
                                                          (a-testsuite "nested suite" (a-testcase "a case" :fail)))]
                                            [(a-testsuite "suite"
-                                                         (a-testsuite "nested suite" (a-testcase "another case" :fail)))]]))))
-
+                                                         (a-testsuite "nested suite" (a-testcase "another case" :fail)))]])))))
+(deftest test-accumulate-testsuite-failures-as-list
   (testing "accumulate-testsuite-failures-as-list"
     (is (= []
            (accumulate-testsuite-failures-as-list [])))

    (is (= [{:testsuite ["suite" "nested suite"] :classname "class" :averageRuntime 10}]
           (average-testclass-runtime-as-list [[(a-testsuite "suite"
                                                             (a-testsuite "nested suite"
                                                                          (a-testcase-with-runtime "class" "a case" 10)))]]))))
  (testing "should properly accumulate runtime with multiple same suite and class entries"
    (is (= [{:name "suite"
             :children [{:name "a class"
                         :averageRuntime 60}]}]
           (average-testclass-runtime [[(a-testsuite "suite" (a-testcase-with-runtime "a class" "a case" 20))
                                        (a-testsuite "suite" (a-testcase-with-runtime "a class" "another case" 40))]]))))

  (testing "flaky-testcases-as-list"
    (is (= []
           (flaky-testcases-as-list {}

  (fn [build-id]
    (get tests build-id)))

(deftest test-accumulate-testsuite-failures
  (testing "accumulate-testsuite-failures"
    (is (= []
           (accumulate-testsuite-failures [])))
