diff --git a/README.md b/README.md index 7e29b6fc..c6c51dde 100755 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ Python Sample ===================== +test11 Simple Python sample with tests using Nose and Coverage. diff --git a/app.py b/app.py index b3cf7d91..b5b4091c 100644 --- a/app.py +++ b/app.py @@ -8,6 +8,7 @@ def calculate(self): def retrieve(self): return self.result + if __name__ == "__main__": app = App() app.calculate() diff --git a/shippable.yml b/oldshippable.yml similarity index 99% rename from shippable.yml rename to oldshippable.yml index 03f74feb..8d4efcec 100755 --- a/shippable.yml +++ b/oldshippable.yml @@ -1,5 +1,7 @@ language: python + + #build_image: shippable/minv2:beta python: diff --git a/requirements.txt b/requirements.txt index d1bcee5e..f3c7e8e6 100755 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1 @@ nose - diff --git a/test.py b/test.py index e090dee3..89d6d59f 100755 --- a/test.py +++ b/test.py @@ -6,7 +6,7 @@ class TestSuite(unittest.TestCase): def test(self): app = App() app.calculate() - self.failIf(app.retrieve() != 62) + self.failIf(app.retrieve() != 61) def main():