]> git.decadent.org.uk Git - dak.git/blobdiff - tests/dbtest_extract_component_from_section.py
Merge remote-tracking branch 'jcristau/formatone-no-tar-sig'
[dak.git] / tests / dbtest_extract_component_from_section.py
index e21c378e40a5c9a717b41b6949ed278adc6185d8..b389ad1b4d8f45679fa7eac61fb7b68781ea1697 100755 (executable)
@@ -22,8 +22,9 @@ class ExtractComponentTestCase(DBDakTestCase):
     """
 
     def assertExtract(self, input, output):
+        self.setup_components()
         self.assertEqual(
-            extract_component_from_section(input)[1],
+            extract_component_from_section(input, self.session)[1],
             output,
         )