Hi Team,
I need help to write the unit test using pytest,
below is the code:
row_list = cognite.raw.rows.list(file.destination.database, file.Extractor_Last_Run_Table, limit=-1,
columns=["key", "LastUpdatedDatetime"]).to_pandas()
if not row_list.empty:
val = list(row_list[row_list.index.isin([file.Extractor_key])]['LastUpdatedDatetime'])
Could you please help to write the unit test for above code?
Thanks
Best answer by Nimesha
View original