Skip to content

Commit

Permalink
Merge pull request #4 from Aegdesil/fix-ci
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
Aegdesil authored May 2, 2020
2 parents 8130333 + dc13176 commit 96147a1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ci_benchmark/ci_breaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@ class CIBreaker:
def __init__(self):
pass

def test(self):
@staticmethod
def test():
return 2 + ""

def test_covered(self):
return self.__class__.__name__
11 changes: 11 additions & 0 deletions tests/test_ci_breaker.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import unittest

from ci_benchmark.ci_breaker import CIBreaker


class TestCIBreaker(unittest.TestCase):
def setUp(self):
self.ci_breaker = CIBreaker()

def test_break(self):
self.assertEqual("CIBreaker", self.ci_breaker.test_covered())

0 comments on commit 96147a1

Please sign in to comment.