'Scoped test that only looks at what is passed to the collecstatic options'

@ddt.data([{'expected_substring': '>    /dev/null'}], [{'cmd_args': ['--debug'], 'expected_substring': 'collectstatic    --noinput    '}])
@ddt.unpack
def test_update_assets_task_collectstatic_log_arg(self, options):

    cmd_args = options.get('cmd_args', [''])
    expected_substring = options.get('expected_substring', None)
    call_task('pavelib.assets.update_assets', args=cmd_args)
    self.assertTrue(self._is_substring_in_list(self.task_messages, expected_substring), msg='{substring}    not    found    in    messages'.format(substring=expected_substring))
