def test_return_on_equity_fail(self): with self.client: stock = Stock('NASDAQ', 'TSLAA') self.assertFalse(stock._compute_return_on_equity())
def test_return_on_equity_success(self): with self.client: stock = Stock('NASDAQ', 'TSLA') self.assertTrue(stock._compute_return_on_equity())