Skip to content

Added simple tests#33

Open
mihal277 wants to merge 1 commit into
DPCS-team:masterfrom
mihal277:tests
Open

Added simple tests#33
mihal277 wants to merge 1 commit into
DPCS-team:masterfrom
mihal277:tests

Conversation

@mihal277

Copy link
Copy Markdown

Simple acceptance tests that should be able to test some relatively easy scenarios (i.e. if a Python library is not installed).

Comment thread tests/test_api.py

json_test_object = json.loads(json_test)

assert json_test_object == json_from_api

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this test be written using a test framework? We'll probaby use pytest, so I'd recommend this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants