-
-
Notifications
You must be signed in to change notification settings - Fork 448
Recall functions are uncovered but truly executed. #657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@liulrebecca I don't understand all that's going on here because I don't have all the code. But send_queue_message sounds like the work is happening in a different process? You should read up on how to measure subprocesses (http://coverage.readthedocs.io/en/latest/subprocess.html) and see if that helps. |
Original comment by rebecca (Bitbucket: liulrebecca, GitHub: Unknown) @nedbat Thanks for your help. I will read up the articles. |
Issue #658 is also about PySpark, but I don't know enough to know if they are related. |
Originally reported by rebecca (Bitbucket: liulrebecca, GitHub: Unknown)
in one python file called vault.py, line 148 is executed, but function eh_evt_2_events and prepare_eh_evt_4_vault which are recalled are not marked as covered:
line 148: df = evt_hub_rdd.flatMap(lambda evt: eh_evt_2_events(evt)).map(lambda evt: prepare_eh_evt_4_vault(evt, batch_date, batch_key)).map(lambda evt_dict: Row(**evt_dict)).toDF()
This file is to process data and save to vault: Uploaded data are processed and saved in vault as expected when testing.
The text was updated successfully, but these errors were encountered: