Skip to content

Commit

Permalink
tests: edit instance
Browse files Browse the repository at this point in the history
  • Loading branch information
byBenPuls committed Dec 10, 2024
1 parent 65601b6 commit 2848d62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_date_convertor.py
Original file line number Diff line number Diff line change
@@ -1,11 1,11 @@
from datetime import datetime, timezone, timedelta

from moy_nalog.methods import AddIncomeMethod
from moy_nalog.methods.method import BaseMethod


class TestDateToLocalISO:
instance = AddIncomeMethod("test")
method = instance._date_to_local_iso
instance = BaseMethod("nothing")
method = instance._format_date_to_local_iso

def test_current_date(self):
assert self.method(datetime.now())
Expand Down

0 comments on commit 2848d62

Please sign in to comment.