예제 #1
0
def test_get_depotwerte():
    component_under_test = Depotwerte()

    component_under_test.add(name='0name',
                             isin='0isin',
                             typ=component_under_test.TYP_ETF)
    component_under_test.add(name='1name',
                             isin='1isin',
                             typ=component_under_test.TYP_ETF)

    assert component_under_test.get_depotwerte() == ['0isin', '1isin']
예제 #2
0
    def test_get_depotwerte(self):
        component_under_test = Depotwerte()

        component_under_test.add(
            '0name',
            '0isin',
        )
        component_under_test.add(
            '1name',
            '1isin',
        )

        assert component_under_test.get_depotwerte() == ['0isin', '1isin']