From 8e2fc5414cf8057cac7bcd83e42744a2f7217e65 Mon Sep 17 00:00:00 2001 From: Daniel Young Date: Mon, 29 Jul 2024 16:02:21 -0700 Subject: [PATCH] Updated dummy test for github actions --- tests/test_dummy.py | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/tests/test_dummy.py b/tests/test_dummy.py index a373282..4b8c8c5 100644 --- a/tests/test_dummy.py +++ b/tests/test_dummy.py @@ -1,20 +1,17 @@ """ -Dummy test for the dummy module. +Dummy test to test Github actions. """ import unittest -from src.prsdk.dummy import compute_percent_change - class TestDummy(unittest.TestCase): """ - Tests for the dummy module. + A fake test that always returns true. """ - def test_pct_change(self): + def test_dummy(self): """ - Tests the compute_percent_change function. - It should return the input divided by 100. + A test that always returns true. """ - self.assertEqual(compute_percent_change(100), 1.0) - self.assertEqual(compute_percent_change(50), 0.5) - self.assertEqual(compute_percent_change(0), 0.0) + # pylint: disable=redundant-unittest-assert + self.assertTrue(True) + # pylint: enable=redundant-unittest-assert