# -*- coding: utf-8 -*-
from asyncy.utils import Resolver

import pytest

# Note: Actual resolution tests for resolution are in integration/Lexicon.


def test_expression_invalid_type():
    with pytest.raises(Exception):
        assert Resolver.expression(
            {'expression': 'a', 'values': [b'asd']}, {}) == 1

# -*- coding: utf-8 -*-
from asyncy.utils import Resolver

import pytest

# Note: Actual resolution tests for resolution are in integration/Lexicon.


def test_expression_invalid_type():
    with pytest.raises(Exception):
        assert Resolver.expression(
            {'expression': 'a', 'values': [b'asd']}, {}) == 1

# -*- coding: utf-8 -*- # Note: Actual resolution tests for resolution are in integration/Lexicon.