'When the method is called specifically with None for the collectstatic log dir, then
it should run in debug mode and pipe to console.'

def test_collect_assets_debug(self):

    expected_log_loc = ''
    systems = ['lms']
    kwargs = {COLLECTSTATIC_LOG_DIR_ARG: None}
    expected_messages = self._set_expected_messages(log_location=expected_log_loc, systems=systems)
    collect_assets(systems, Env.DEVSTACK_SETTINGS, **kwargs)
    self.assertEqual(self.task_messages, expected_messages)
