'Test if settings service uses class name if block_settings_key attribute does not exist'

@override_settings(XBLOCK_SETTINGS={_DummyBlock.__name__: [1, 2, 3]})
def test_get_uses_class_name_if_block_settings_key_is_not_set(self):

    mixologist = Mixologist([])
    block = mixologist.mix(_DummyBlock)
    self.assertEqual(settings.XBLOCK_SETTINGS, {'_DummyBlock': [1, 2, 3]})
    self.assertEqual(self.settings_service.get_settings_bucket(block), [1, 2, 3])
