Commit c6996012 authored by Jacob's avatar Jacob
Browse files

Added first tests file

parent 15613abb
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
import pytest
from common.env import boolify


def test_boolify_true():
    true_val = [1, "1", "TRUE", "True", "true", True]

    for val in true_val:
        assert boolify(val) is True, f"Exepeted true {val} but did not get it."