-
Notifications
You must be signed in to change notification settings - Fork 20
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
New View Tests #62
New View Tests #62
Conversation
healthtools/manage.py
Outdated
currentdir = os.path.dirname(os.path.abspath( | ||
inspect.getfile(inspect.currentframe()))) | ||
parentdir = os.path.dirname(currentdir) | ||
sys.path.insert(0, parentdir) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are these four lines of code for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Awinja-Andela ☝️
This is the exact same PR I closed a couple of days ago. Did you open this one by mistake? #59 (comment) |
@DavidLemayian This is a new repo. i added new test cases that i feel make use of the iterators in the documents. |
Hi @Awinja-Andela. Going to re-open this as there are many ways to skin a cat. |
@DavidLemayian please check on changes i have made. |
This PR Introduces tests files for the available views which are:
This task involved writing the tests and running the tests to ensure they run successfully.
This tests can be run by using the following commands:
nosetests healthtools/tests
nosetests healthtools/tests/doctor.py
nosetests healthtools/tests/nurse.py
nosetests healthtools/tests/clinical_officer.py
nosetests healthtools/tests/health_facilities.py
nosetests healthtools/tests/nhif_inpatient.py
nosetests healthtools/tests/nhif_outpatient.py
nosetests healthtools/tests/nhif_outpatient_cs.py
Relevant Github Issue:
#46