'Test that raises InvalidKeyError for invalid keys'

@ddt.data('qwerty', 'invalid_key', 'xblock-v1:qwe+rty')
def test_given_invalid_lib_key_raises_not_found(self, invalid_key):

    with self.assertRaises(InvalidKeyError):
        call_command('reindex_library', invalid_key)
