'Verify storage returns correct file path depending upon the enabled theme'

@override_settings(DEBUG=True)
@ddt.data(('images/logo.png',), ('images/favicon.ico',))
@ddt.unpack
def test_path(self, asset):

    with patch('openedx.core.djangoapps.theming.storage.get_current_theme', return_value=Theme(self.enabled_theme, self.enabled_theme, get_theme_base_dir(self.enabled_theme))):
        returned_path = self.storage.path(asset)
        expected_path = (((self.themes_dir / self.enabled_theme) / 'lms/static/') / asset)
        self.assertEqual(expected_path, returned_path)
