X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=tests%2Fdbtest_extract_component_from_section.py;h=b389ad1b4d8f45679fa7eac61fb7b68781ea1697;hb=7c5adcf962fe99d6a42307595f263f47d0112fbc;hp=e21c378e40a5c9a717b41b6949ed278adc6185d8;hpb=5bba2bc9904d04cbb9d14cf40e6ab57f22745487;p=dak.git diff --git a/tests/dbtest_extract_component_from_section.py b/tests/dbtest_extract_component_from_section.py index e21c378e..b389ad1b 100755 --- a/tests/dbtest_extract_component_from_section.py +++ b/tests/dbtest_extract_component_from_section.py @@ -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, )