| Total Complexity | 1 |
| Total Lines | 8 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | """Test the creation of Option objects.""" |
||
| 18 | class TestOptionCretionCase00(TestOptionCreation): |
||
| 19 | """Test the creation of an option.""" |
||
| 20 | |||
| 21 | def test_no_underlying_assets(self): |
||
| 22 | option = Option( |
||
| 23 | symbol='OPTIOSYMBOL', expiration_date='2015-12-21' |
||
| 24 | ) |
||
| 25 | self.assertEqual(option.underlying_assets, {}) |
||
| 26 |