diff --git a/eopayment/__init__.py b/eopayment/__init__.py index 099bc35..719ef49 100644 --- a/eopayment/__init__.py +++ b/eopayment/__init__.py @@ -86,7 +86,7 @@ def get_backend(kind): return module.Payment -__BACKENDS = [DUMMY, SIPS, SIPS2, SYSTEMPAY, OGONE, PAYBOX, PAYZEN, TIPI, PAYFIP_WS, KEYWARE, MOLLIE, SAGA] +__BACKENDS = [DUMMY, SIPS2, SYSTEMPAY, OGONE, PAYBOX, PAYZEN, TIPI, PAYFIP_WS, KEYWARE, MOLLIE, SAGA] def get_backends(): diff --git a/tests/test_misc.py b/tests/test_misc.py new file mode 100644 index 0000000..4115ba5 --- /dev/null +++ b/tests/test_misc.py @@ -0,0 +1,22 @@ +# eopayment - online payment library +# Copyright (C) 2011-2022 Entr'ouvert +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + + +import eopayment + + +def test_get_backends(): + assert len(eopayment.get_backends()) > 1