From 2177bf55b3d1f0c6857940105093909e1e904eed Mon Sep 17 00:00:00 2001
From: Anton Hansson <antha652@student.liu.se>
Date: Fri, 30 Sep 2022 21:05:02 +0000
Subject: [PATCH] Update tests/test_router.py, .gitlab-ci.yml

---
 .gitlab-ci.yml                      | 14 +++++++-------
 tests/{router.py => test_router.py} |  2 --
 2 files changed, 7 insertions(+), 9 deletions(-)
 rename tests/{router.py => test_router.py} (92%)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index effffa4..05681e9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,7 @@
-build: 
-    image: alpine
-    script: 
-        - echo "Hello" > index.html 
-    artifacts:
-        paths:
-            - index-.html
+run_tests:
+    stage: test
+    image: python:3.9
+    before_script:
+        - pip install -r requirements.txt
+    script:
+        - python -m unittest discover tests 
diff --git a/tests/router.py b/tests/test_router.py
similarity index 92%
rename from tests/router.py
rename to tests/test_router.py
index f9ef825..9ecd3d8 100644
--- a/tests/router.py
+++ b/tests/test_router.py
@@ -1,8 +1,6 @@
 
 import unittest
 
-from my_sum import sum
-
 
 class TestSum(unittest.TestCase):
     def test_list_int(self):
-- 
GitLab