From d5fb63b543c8484d7741ccc2c52cabd660fc3c6a Mon Sep 17 00:00:00 2001 From: vanadium23 Date: Sun, 27 Mar 2022 17:43:24 +0300 Subject: [PATCH 1/2] [Feat] add currency symbol for KZT Found on Wiki: https://en.wikipedia.org/wiki/Kazakhstani_tenge --- currency_symbols/_constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/currency_symbols/_constants.py b/currency_symbols/_constants.py index aeed7c9..31885d8 100644 --- a/currency_symbols/_constants.py +++ b/currency_symbols/_constants.py @@ -85,7 +85,7 @@ "KRW": "₩", "KWD": "KD", "KYD": "$", - "KZT": "лв", + "KZT": "₸", "LAK": "₭", "LBP": "£", "LKR": "₨", From f9c1468e178a44d59163b05c8d110c54528307dc Mon Sep 17 00:00:00 2001 From: vanadium23 Date: Tue, 29 Mar 2022 20:34:36 +0300 Subject: [PATCH 2/2] [Test] add test for KZT currency --- currency_symbols/test.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/currency_symbols/test.py b/currency_symbols/test.py index 25de54c..8068836 100644 --- a/currency_symbols/test.py +++ b/currency_symbols/test.py @@ -26,3 +26,8 @@ def test_currency_symbols(self) -> None: "¥", "Should return CNY symbol" ) + self.assertEqual( + CurrencySymbols.get_symbol("KZT"), + "₸", + "Should return KZT symbol" + )