Signed-off-by: Mark Hymers <mhy@debian.org>
#!/usr/bin/env python
-from base_test import DakTestCase
+from db_test import DBDakTestCase
import unittest
from daklib.utils import extract_component_from_section
-class ExtractComponentTestCase(DakTestCase):
+class ExtractComponentTestCase(DBDakTestCase):
"""
prefix: non-US
component: main, contrib, non-free
-// For extract_component_from_section tests
-
-Component
-{
- main
- {
- Description "Main";
- };
-
- contrib
- {
- Description "Contrib";
- };
-
- non-free
- {
- Description "Software that fails to meet the DFSG";
- };
-};
-
Dir
{
Root "tests/fixtures/ftp/";