Repository: carsdotcom/cars-forge (language: python)

Issue:
yaml_loader.py - Increase test coverage to above 90%
Subtask of Issue https://github.com/carsdotcom/cars-forge/issues/2. 

**Problem**
Forge v1.0.0 had 41% overall test coverage. 

**Goal**
Get test coverage above 90%!

```
Name                       Stmts   Miss  Cover
----------------------------------------------
src/forge/yaml_loader.py     102     15    85%
```

For more information, please refer to Issue https://github.com/carsdotcom/cars-forge/issues/2. 


Discussion / hints:

Fix patch:
diff --git a/.gitignore b/.gitignore
index 170d0e8..9d19a99 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,4 @@ __pycache__/
 *.egg-info/
 build/
 dist/
+.idea/


Test patch:
diff --git a/tests/test_yaml_loader.py b/tests/test_yaml_loader.py
index caed5d7..430f7d4 100644
--- a/tests/test_yaml_loader.py
+++ b/tests/test_yaml_loader.py
@@ -7,10 +7,10 @@
 
 from forge import yaml_loader
 
-
 TEST_DIR = os.path.dirname(os.path.realpath(__file__))
 FORGE_DIR = os.path.dirname(os.path.realpath(yaml_loader.__file__))
 
+
 @pytest.mark.parametrize('user_yaml,expected', [
     # Input/ouput pairs of config dicts
     # Single required-only configs with destroy
@@ -209,3 +209,30 @@ def test_load_config_errors(mock_pass, args, exp_error, caplog):
         yaml_loader.load_config(args)
 
     assert caplog.record_tuples[-1] == ('forge.yaml_loader', logging.ERROR, exp_error)
+
+
+@pytest.mark.parametrize(
+    "raw_x", [
+        1,
+        1.1,
+        "1",
+        None,
+        [1, "two", 3.3],
+        [1, 2, 3],
+        [[-1, "two", 3.3]]
+    ]
+)
+def test_non_negative_list_failures(raw_x):
+    with pytest.raises(ValueError):
+        yaml_loader.non_negative_list_list_ints(raw_x)
+
+
+@pytest.mark.parametrize(
+    "raw_x", [
+        [[1, 2, 3]],
+        [[1, 2, 3], [4, 5, 6]],
+    ]
+)
+def test_non_negative_list_pass(raw_x):
+    result = yaml_loader.non_negative_list_list_ints(raw_x)
+    assert result == raw_x