From a87ae6bea07a7f3256c89b9ad93ac4e4fb8ef7a1 Mon Sep 17 00:00:00 2001 From: Mikolaj Szczesny Date: Mon, 4 Sep 2023 14:09:29 +0200 Subject: [PATCH 01/13] test commit for buildbot Signed-off-by: Mikolaj Szczesny --- hello/__init__.py | 5 +++++ hello/test_hello.py | 9 ++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/hello/__init__.py b/hello/__init__.py index c520c2f..2b0c1b5 100644 --- a/hello/__init__.py +++ b/hello/__init__.py @@ -1,6 +1,11 @@ """hello world module""" +def goodbye(who): + """function that says goodbye""" + return "bye bye " + who + + def hello(who): """function that greats""" return "hello " + who diff --git a/hello/test_hello.py b/hello/test_hello.py index 5e0fecd..d2aa00d 100644 --- a/hello/test_hello.py +++ b/hello/test_hello.py @@ -1,7 +1,7 @@ """sample test""" import unittest -from hello import hello +from hello import hello, goodbye class TestHello(unittest.TestCase): @@ -9,8 +9,11 @@ class TestHello(unittest.TestCase): def test_world(self): """sample test""" - self.assertEqual(hello('world'), 'hello world') + self.assertEqual(hello("world"), "hello world") + + def test_bye(self): + self.assertEqual(goodbye("world"), "bye bye world") def test_world_unicode(self): """sample test with unicode""" - self.assertEqual(hello(u'world'), u'hello world') + self.assertEqual(hello("world"), "hello world") From 8021c90c88a83e5e14eac68cba2c81f4b51872b7 Mon Sep 17 00:00:00 2001 From: Mikolaj Szczesny Date: Mon, 4 Sep 2023 14:11:11 +0200 Subject: [PATCH 02/13] test failing commit buildbot Signed-off-by: Mikolaj Szczesny --- hello/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello/__init__.py b/hello/__init__.py index 2b0c1b5..fde9b08 100644 --- a/hello/__init__.py +++ b/hello/__init__.py @@ -8,4 +8,4 @@ def goodbye(who): def hello(who): """function that greats""" - return "hello " + who + return "greets " + who From 1f4ec027b7a1fe19062f939e357c8c3841676cf6 Mon Sep 17 00:00:00 2001 From: Mikolaj Szczesny Date: Mon, 4 Sep 2023 14:16:13 +0200 Subject: [PATCH 03/13] failing commit for buildbot Signed-off-by: Mikolaj Szczesny --- hello/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello/__init__.py b/hello/__init__.py index 2b0c1b5..fde9b08 100644 --- a/hello/__init__.py +++ b/hello/__init__.py @@ -8,4 +8,4 @@ def goodbye(who): def hello(who): """function that greats""" - return "hello " + who + return "greets " + who From f9abd077acb6e727b30ef8c4591c5af9c53f5d4b Mon Sep 17 00:00:00 2001 From: Mikolaj Szczesny Date: Mon, 4 Sep 2023 15:08:13 +0200 Subject: [PATCH 04/13] test succesful build - github status push Signed-off-by: Mikolaj Szczesny --- hello/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello/__init__.py b/hello/__init__.py index fde9b08..2b0c1b5 100644 --- a/hello/__init__.py +++ b/hello/__init__.py @@ -8,4 +8,4 @@ def goodbye(who): def hello(who): """function that greats""" - return "greets " + who + return "hello " + who From 4bbef594b64638c4553e0f222c418d441935f295 Mon Sep 17 00:00:00 2001 From: Mikolaj Szczesny Date: Mon, 4 Sep 2023 15:18:01 +0200 Subject: [PATCH 05/13] test buildbot fail - github comment push Signed-off-by: Mikolaj Szczesny --- hello/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello/__init__.py b/hello/__init__.py index 2b0c1b5..ded688a 100644 --- a/hello/__init__.py +++ b/hello/__init__.py @@ -3,7 +3,7 @@ def goodbye(who): """function that says goodbye""" - return "bye bye " + who + return "bye " + who def hello(who): From 6068dbbdb29444c211085d1fa12a045239e2acc7 Mon Sep 17 00:00:00 2001 From: Mikolaj Szczesny Date: Mon, 4 Sep 2023 15:22:58 +0200 Subject: [PATCH 06/13] failed test github comment push buildbot 2 Signed-off-by: Mikolaj Szczesny --- hello/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello/__init__.py b/hello/__init__.py index ded688a..8cc98ab 100644 --- a/hello/__init__.py +++ b/hello/__init__.py @@ -3,7 +3,7 @@ def goodbye(who): """function that says goodbye""" - return "bye " + who + return "bye x" + who def hello(who): From f353cafc2874a322060ad3ecc141ff6f89949a61 Mon Sep 17 00:00:00 2001 From: Mikolaj Szczesny Date: Mon, 4 Sep 2023 16:21:33 +0200 Subject: [PATCH 07/13] buildbot passing build comment Signed-off-by: Mikolaj Szczesny --- hello/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello/__init__.py b/hello/__init__.py index 8cc98ab..2b0c1b5 100644 --- a/hello/__init__.py +++ b/hello/__init__.py @@ -3,7 +3,7 @@ def goodbye(who): """function that says goodbye""" - return "bye x" + who + return "bye bye " + who def hello(who): From cb8dc5dd4c044b3c91d5514cf1637ff942e6f721 Mon Sep 17 00:00:00 2001 From: Mikolaj Szczesny Date: Mon, 4 Sep 2023 16:31:00 +0200 Subject: [PATCH 08/13] test failing buildbot pr poll Signed-off-by: Mikolaj Szczesny --- hello/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello/__init__.py b/hello/__init__.py index fde9b08..315d13c 100644 --- a/hello/__init__.py +++ b/hello/__init__.py @@ -8,4 +8,4 @@ def goodbye(who): def hello(who): """function that greats""" - return "greets " + who + return "hello hello " + who From 537686af972843ecd943a1645a71d5936f3ce181 Mon Sep 17 00:00:00 2001 From: Mikolaj Szczesny Date: Mon, 4 Sep 2023 21:17:19 +0200 Subject: [PATCH 09/13] buildbot failing build comment Signed-off-by: Mikolaj Szczesny --- hello/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello/__init__.py b/hello/__init__.py index 315d13c..11e122e 100644 --- a/hello/__init__.py +++ b/hello/__init__.py @@ -3,7 +3,7 @@ def goodbye(who): """function that says goodbye""" - return "bye bye " + who + return "bye " + who def hello(who): From a6a4880dafaba7c0945bf7c449c9333b0ac18e57 Mon Sep 17 00:00:00 2001 From: Mikolaj Szczesny Date: Mon, 4 Sep 2023 21:56:09 +0200 Subject: [PATCH 10/13] tack pull request comment successful builbot Signed-off-by: Mikolaj Szczesny --- hello/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hello/__init__.py b/hello/__init__.py index 315d13c..ded688a 100644 --- a/hello/__init__.py +++ b/hello/__init__.py @@ -3,9 +3,9 @@ def goodbye(who): """function that says goodbye""" - return "bye bye " + who + return "bye " + who def hello(who): """function that greats""" - return "hello hello " + who + return "hello " + who From c39c888e9f75cab663cd81f75edc1172ddf2f6eb Mon Sep 17 00:00:00 2001 From: Mikolaj Szczesny Date: Mon, 18 Sep 2023 20:51:37 +0200 Subject: [PATCH 11/13] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 89a6eac..d9417ff 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # hello-world hello world project for buildbot tutorials + +xxxx From d8b7385d31a611075c63fa31225c5869aa08fd20 Mon Sep 17 00:00:00 2001 From: Mikolaj Szczesny Date: Mon, 18 Sep 2023 21:34:59 +0200 Subject: [PATCH 12/13] Update test_hello.py --- hello/test_hello.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello/test_hello.py b/hello/test_hello.py index d2aa00d..f6623d1 100644 --- a/hello/test_hello.py +++ b/hello/test_hello.py @@ -12,7 +12,7 @@ def test_world(self): self.assertEqual(hello("world"), "hello world") def test_bye(self): - self.assertEqual(goodbye("world"), "bye bye world") + self.assertEqual(goodbye("world"), "bye world") def test_world_unicode(self): """sample test with unicode""" From ca12bfcc8f946249248b7aee6fe8a46298cf2a1b Mon Sep 17 00:00:00 2001 From: Mikolaj Szczesny Date: Mon, 18 Sep 2023 22:47:09 +0200 Subject: [PATCH 13/13] Update .bbtravis.yml --- .bbtravis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bbtravis.yml b/.bbtravis.yml index 45cbae0..48aa820 100644 --- a/.bbtravis.yml +++ b/.bbtravis.yml @@ -15,3 +15,5 @@ install: # Tests running commands script: - trial hello + +xxx