summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2022-06-24 09:38:00 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2022-06-30 10:11:05 (GMT)
commit02d1238761602d9052d187e35c3cb278e24aaee9 (patch)
treeb1058fc3692165e5de00e71e4e1da92ab1de1fd8
parent3abc468775bd13afa434582ec170ba029019c531 (diff)
downloadeopayment-02d1238761602d9052d187e35c3cb278e24aaee9.zip
eopayment-02d1238761602d9052d187e35c3cb278e24aaee9.tar.gz
eopayment-02d1238761602d9052d187e35c3cb278e24aaee9.tar.bz2
misc: remove references to sips (#32224)
It broke get_backends().
-rw-r--r--eopayment/__init__.py2
-rw-r--r--tests/test_misc.py22
2 files changed, 23 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>.
+
+
+import eopayment
+
+
+def test_get_backends():
+ assert len(eopayment.get_backends()) > 1