def test_valid_progress_type(self): DynamicSplitRequest(progress=ReaderProgress())
def test_invalid_progress_type(self): with self.assertRaises(AssertionError): DynamicSplitRequest(progress=1)
def test_valid_progress_type(self): DynamicSplitRequest(progress=ReaderProgress())
def test_invalid_progress_type(self): with self.assertRaises(AssertionError): DynamicSplitRequest(progress=1)