Beispiel #1
0
    def test_not_stored_currency(self):
        st = rockefeller.MemoryCurrency()

        assert st.get('USD') is None
Beispiel #2
0
    def test_support_get(self):
        st = rockefeller.MemoryCurrency()
        st.support(usd)

        assert st.get('USD') == usd
Beispiel #3
0
    def test_not_support(self):
        st = rockefeller.MemoryCurrency()
        st.not_support(usd)

        assert st.get('USD') is None
Beispiel #4
0
 def teardown_method(self, method):
     rockefeller.Currency.store = rockefeller.MemoryCurrency()