Skip to content
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

Merged
merged 20 commits into from Oct 18, 2017

Conversation

Projects
None yet
2 participants
@Awinja-Andela
Copy link
Contributor

commented Oct 5, 2017

This PR Introduces tests files for the available views which are:

  • Doctors
  • Clinical officers
  • Nurses
  • Health Facilities
  • NHIF Inpatient
  • NHIF Outpatient
  • NHIF Outpatient Civil Servants

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

currentdir = os.path.dirname(os.path.abspath(
inspect.getfile(inspect.currentframe())))
parentdir = os.path.dirname(currentdir)
sys.path.insert(0, parentdir)

This comment has been minimized.

Copy link
@DavidLemayian

DavidLemayian Oct 7, 2017

Member

What are these four lines of code for?

This comment has been minimized.

Copy link
@DavidLemayian
@DavidLemayian

This comment has been minimized.

Copy link
Member

commented Oct 7, 2017

This is the exact same PR I closed a couple of days ago. Did you open this one by mistake? #59 (comment)

@Awinja-Andela

This comment has been minimized.

Copy link
Contributor Author

commented Oct 7, 2017

@DavidLemayian This is a new repo. i added new test cases that i feel make use of the iterators in the documents.

@DavidLemayian

This comment has been minimized.

Copy link
Member

commented Oct 16, 2017

Hi @Awinja-Andela. Going to re-open this as there are many ways to skin a cat.

@DavidLemayian DavidLemayian reopened this Oct 16, 2017

Awinja-Andela added some commits Oct 16, 2017

@Awinja-Andela

This comment has been minimized.

Copy link
Contributor Author

commented Oct 16, 2017

@DavidLemayian please check on changes i have made.

Awinja-Andela and others added some commits Oct 17, 2017

@DavidLemayian DavidLemayian merged commit 72e1a49 into CodeForAfrica:develop Oct 18, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.