Skip to content

Commit

Permalink
database example
Browse files Browse the repository at this point in the history
  • Loading branch information
arunp77 committed Aug 27, 2024
1 parent bd3ac67 commit f4c1dcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unit-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ <h4>Automated testing</h4>
from wallet import Wallet, InsufficientAmount
import pytest
def test_default_initial_amount():
wallet = Wallet()
assert wallet.balance == 0
wallet = Wallet()
assert wallet.balance == 0

def test_setting_initial_amount():
wallet = Wallet(100)
Expand Down

0 comments on commit f4c1dcb

Please sign in to comment.