From 611ab96fd1b5f38d35eae55b449cc0370fa8de5a Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Sun, 3 Feb 2019 21:07:44 +0200 Subject: [PATCH] tests: fix formatting Signed-off-by: Ruslan Kuprieiev --- tests/basic_env.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/basic_env.py b/tests/basic_env.py index dd24be067..13263ffc5 100644 --- a/tests/basic_env.py +++ b/tests/basic_env.py @@ -74,6 +74,7 @@ class TestDir(TestCase): class TestGit(TestDir): N_RETRIES = 5 + def setUp(self): super(TestGit, self).setUp() # NOTE: handles EAGAIN error on BSD systems (osx in our case). @@ -89,7 +90,7 @@ class TestGit(TestDir): retries -= 1 continue break - + self.git.index.add([self.CODE]) self.git.index.commit("add code")