├── .github └── workflows │ └── pipeline.yml ├── .gitignore ├── .idea ├── .gitignore ├── expects.iml ├── inspectionProfiles │ └── profiles_settings.xml ├── misc.xml ├── modules.xml ├── ruff.xml └── vcs.xml ├── .readthedocs.yaml ├── CHANGES.rst ├── LICENSE ├── MANIFEST.in ├── README.rst ├── dev-requirements.txt ├── docs ├── 3rd-party-matchers.rst ├── Makefile ├── aliases.rst ├── changes.rst ├── conf.py ├── custom-matchers.rst ├── examples.rst ├── index.rst ├── install.rst ├── make.bat └── matchers.rst ├── examples ├── requirements.txt └── test_pytest.py ├── expects ├── __init__.py ├── _compat.py ├── aliases.py ├── expectations.py ├── factory.py ├── matchers │ ├── __init__.py │ └── built_in │ │ ├── __init__.py │ │ ├── be.py │ │ ├── be_a.py │ │ ├── be_above.py │ │ ├── be_above_or_equal.py │ │ ├── be_below.py │ │ ├── be_below_or_equal.py │ │ ├── be_callable.py │ │ ├── be_empty.py │ │ ├── be_false.py │ │ ├── be_none.py │ │ ├── be_true.py │ │ ├── be_within.py │ │ ├── contain.py │ │ ├── equal.py │ │ ├── have_keys.py │ │ ├── have_len.py │ │ ├── have_properties.py │ │ ├── match.py │ │ ├── not_.py │ │ ├── raise_error.py │ │ └── start_end_with.py ├── testing.py └── texts.py ├── setup.py ├── specs ├── __init__.py ├── fixtures.py ├── matchers │ ├── and_spec.py │ ├── built_in │ │ ├── __init__.py │ │ ├── be_a_spec.py │ │ ├── be_above_or_equal_spec.py │ │ ├── be_above_spec.py │ │ ├── be_an_spec.py │ │ ├── be_below_or_equal_spec.py │ │ ├── be_below_spec.py │ │ ├── be_callable_spec.py │ │ ├── be_empty_spec.py │ │ ├── be_false_spec.py │ │ ├── be_none_spec.py │ │ ├── be_spec.py │ │ ├── be_true_spec.py │ │ ├── be_within_spec.py │ │ ├── contain_exactly_spec.py │ │ ├── contain_only_spec.py │ │ ├── contain_spec.py │ │ ├── end_with_spec.py │ │ ├── equal_spec.py │ │ ├── have_key_spec.py │ │ ├── have_keys_spec.py │ │ ├── have_len_spec.py │ │ ├── have_properties_spec.py │ │ ├── have_property_spec.py │ │ ├── match_spec.py │ │ ├── raise_error_spec.py │ │ └── start_with_spec.py │ └── or_spec.py ├── testing │ ├── __init__.py │ └── failure_spec.py └── texts │ ├── __init__.py │ └── plain_enumerate_spec.py ├── test-requirements.txt └── tox.ini /.github/workflows/pipeline.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/.github/workflows/pipeline.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/expects.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/.idea/expects.iml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/.idea/inspectionProfiles/profiles_settings.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/ruff.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/.idea/ruff.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /CHANGES.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/CHANGES.rst -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/README.rst -------------------------------------------------------------------------------- /dev-requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/dev-requirements.txt -------------------------------------------------------------------------------- /docs/3rd-party-matchers.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/docs/3rd-party-matchers.rst -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/aliases.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/docs/aliases.rst -------------------------------------------------------------------------------- /docs/changes.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../CHANGES.rst 2 | -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/custom-matchers.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/docs/custom-matchers.rst -------------------------------------------------------------------------------- /docs/examples.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/docs/examples.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/install.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/docs/install.rst -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/matchers.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/docs/matchers.rst -------------------------------------------------------------------------------- /examples/requirements.txt: -------------------------------------------------------------------------------- 1 | pytest 2 | -------------------------------------------------------------------------------- /examples/test_pytest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/examples/test_pytest.py -------------------------------------------------------------------------------- /expects/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/__init__.py -------------------------------------------------------------------------------- /expects/_compat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/_compat.py -------------------------------------------------------------------------------- /expects/aliases.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/aliases.py -------------------------------------------------------------------------------- /expects/expectations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/expectations.py -------------------------------------------------------------------------------- /expects/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/factory.py -------------------------------------------------------------------------------- /expects/matchers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/__init__.py -------------------------------------------------------------------------------- /expects/matchers/built_in/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/__init__.py -------------------------------------------------------------------------------- /expects/matchers/built_in/be.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/be.py -------------------------------------------------------------------------------- /expects/matchers/built_in/be_a.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/be_a.py -------------------------------------------------------------------------------- /expects/matchers/built_in/be_above.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/be_above.py -------------------------------------------------------------------------------- /expects/matchers/built_in/be_above_or_equal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/be_above_or_equal.py -------------------------------------------------------------------------------- /expects/matchers/built_in/be_below.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/be_below.py -------------------------------------------------------------------------------- /expects/matchers/built_in/be_below_or_equal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/be_below_or_equal.py -------------------------------------------------------------------------------- /expects/matchers/built_in/be_callable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/be_callable.py -------------------------------------------------------------------------------- /expects/matchers/built_in/be_empty.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/be_empty.py -------------------------------------------------------------------------------- /expects/matchers/built_in/be_false.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/be_false.py -------------------------------------------------------------------------------- /expects/matchers/built_in/be_none.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/be_none.py -------------------------------------------------------------------------------- /expects/matchers/built_in/be_true.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/be_true.py -------------------------------------------------------------------------------- /expects/matchers/built_in/be_within.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/be_within.py -------------------------------------------------------------------------------- /expects/matchers/built_in/contain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/contain.py -------------------------------------------------------------------------------- /expects/matchers/built_in/equal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/equal.py -------------------------------------------------------------------------------- /expects/matchers/built_in/have_keys.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/have_keys.py -------------------------------------------------------------------------------- /expects/matchers/built_in/have_len.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/have_len.py -------------------------------------------------------------------------------- /expects/matchers/built_in/have_properties.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/have_properties.py -------------------------------------------------------------------------------- /expects/matchers/built_in/match.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/match.py -------------------------------------------------------------------------------- /expects/matchers/built_in/not_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/not_.py -------------------------------------------------------------------------------- /expects/matchers/built_in/raise_error.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/raise_error.py -------------------------------------------------------------------------------- /expects/matchers/built_in/start_end_with.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/matchers/built_in/start_end_with.py -------------------------------------------------------------------------------- /expects/testing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/testing.py -------------------------------------------------------------------------------- /expects/texts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/expects/texts.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/setup.py -------------------------------------------------------------------------------- /specs/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | -------------------------------------------------------------------------------- /specs/fixtures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/fixtures.py -------------------------------------------------------------------------------- /specs/matchers/and_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/and_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | -------------------------------------------------------------------------------- /specs/matchers/built_in/be_a_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/be_a_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/be_above_or_equal_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/be_above_or_equal_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/be_above_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/be_above_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/be_an_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/be_an_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/be_below_or_equal_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/be_below_or_equal_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/be_below_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/be_below_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/be_callable_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/be_callable_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/be_empty_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/be_empty_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/be_false_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/be_false_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/be_none_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/be_none_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/be_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/be_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/be_true_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/be_true_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/be_within_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/be_within_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/contain_exactly_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/contain_exactly_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/contain_only_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/contain_only_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/contain_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/contain_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/end_with_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/end_with_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/equal_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/equal_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/have_key_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/have_key_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/have_keys_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/have_keys_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/have_len_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/have_len_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/have_properties_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/have_properties_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/have_property_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/have_property_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/match_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/match_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/raise_error_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/raise_error_spec.py -------------------------------------------------------------------------------- /specs/matchers/built_in/start_with_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/built_in/start_with_spec.py -------------------------------------------------------------------------------- /specs/matchers/or_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/matchers/or_spec.py -------------------------------------------------------------------------------- /specs/testing/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | -------------------------------------------------------------------------------- /specs/testing/failure_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/testing/failure_spec.py -------------------------------------------------------------------------------- /specs/texts/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | -------------------------------------------------------------------------------- /specs/texts/plain_enumerate_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/specs/texts/plain_enumerate_spec.py -------------------------------------------------------------------------------- /test-requirements.txt: -------------------------------------------------------------------------------- 1 | mamba 2 | -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaimegildesagredo/expects/HEAD/tox.ini --------------------------------------------------------------------------------