Did I find the right examples for you? yes no

All Samples(4)  |  Call(3)  |  Derive(0)  |  Import(1)

src/c/o/comics-HEAD/comics/aggregator/management/commands/comics_getreleases.py   comics(Download)
from comics.aggregator.command import Aggregator
from comics.core.command_utils import ComicsBaseCommand, make_option
 
 
class Command(ComicsBaseCommand):
    def handle(self, *args, **options):
        super(Command, self).handle(*args, **options)
        aggregator = Aggregator(optparse_options=options)
        try:
            aggregator.start()

src/c/o/comics-HEAD/comics/aggregator/tests/test_command.py   comics(Download)
    def setUp(self):
        create_comics()
        config = command.AggregatorConfig()
        config.set_comics_to_crawl(None)
        self.aggregator = command.Aggregator(config)
        optparse_options_mock.get.return_value = None
 
        result = command.Aggregator(optparse_options=optparse_options_mock)
 
        self.assertEquals(