We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85a315d commit cece596Copy full SHA for cece596
tests/test_asset_list.py
@@ -41,6 +41,10 @@ def test_repr(self):
41
def test_len(self):
42
assert self.asset_list.__len__() == 2
43
44
+ def test_iter(self):
45
+ tickers = [asset.symbol for asset in self.asset_list]
46
+ assert tickers == ["RUB.FX", "MCFTR.INDX"]
47
+
48
def test_tickers(self):
49
assert self.asset_list_with_portfolio.tickers == ["pf1", "RUB", "MCFTR"]
50
0 commit comments