def test_equal(): assert Instrument.from_l18('فملی') == Instrument(35425587644337450)
def test_repr(): # known ID assert repr(Instrument.from_l18('فملی')) == "Instrument('فملی')" # unknown ID assert repr(Instrument(1)) == "Instrument(1)"