gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-bank] branch stable updated (22ecff2 -> 4e54940)


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] branch stable updated (22ecff2 -> 4e54940)
Date: Fri, 29 Mar 2019 18:54:49 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a change to branch stable
in repository bank.

    from 22ecff2  Hotfixing syntax problem.
     add 4e54940  Remove garbage gone through conflict resolution.

No new revisions were added by this update.

Summary of changes:
 talerbank/app/middleware.py | 3 +--
 talerbank/app/tests.py      | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/talerbank/app/middleware.py b/talerbank/app/middleware.py
index a5888e2..f6f8c1e 100644
--- a/talerbank/app/middleware.py
+++ b/talerbank/app/middleware.py
@@ -7,7 +7,7 @@ from .views import \
      LoginFailed, RejectNoRightsException)
 from .schemas import \
     (URLParameterMissing, URLParameterMalformed,
-     JSONFieldException, UnknownCurrencyException)
+     JSONFieldException)
 from .amount import \
     (CurrencyMismatch, BadFormatAmount,
      NumberTooBig, NegativeNumber)
@@ -44,7 +44,6 @@ class ExceptionMiddleware:
             BadFormatAmount: 11,
             LoginFailed: 12,
             RejectNoRightsException: 13,
-            UnknownCurrencyException: 14,
             NumberTooBig: 1,
             NegativeNumber: 0}
 
diff --git a/talerbank/app/tests.py b/talerbank/app/tests.py
index eff2387..3fbe170 100644
--- a/talerbank/app/tests.py
+++ b/talerbank/app/tests.py
@@ -560,7 +560,6 @@ class ParseAmountTestCase(TestCase):
         try:
             Amount.parse("Buggy")
         except BadFormatAmount as err:
-            self.assertEqual(err.hint, "Amount given was incorrect")
             return
         # make sure the control doesn't get here
         self.assertEqual(True, False)

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]