Skip to content

Commit

Permalink
Merge pull request #109 from tisnik/unit-tests-for-default-config-run…
Browse files Browse the repository at this point in the history
…time-config

Unit tests for classes DefaultConfig and RuntimeConfig
  • Loading branch information
tisnik authored Mar 28, 2019
2 parents 10d566e + 77637f9 commit c151eee
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/test_config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"""Test for the config.py."""

# import pytest

from cvejob.config import DefaultConfig, RuntimeConfig


def test_default_config():
"""Basic test for the class DefaultConfig."""
config = DefaultConfig()
assert config is not None


def test_runtime_config():
"""Basic test for the class RuntimeConfig."""
config = RuntimeConfig()
assert config is not None

0 comments on commit c151eee

Please sign in to comment.