def test_get_data_some_data(self): test_future = Future("TestData") expected = "TestData" actual = test_future.get_data() assert expected == actual
def test_get_data_no_data(self): test_future = Future() expected = None actual = test_future.get_data() assert expected == actual