from planterbox import step


@step(r'I add (\d+) and (\d+)')
def add(self, a, b):
    a = int(a)
    b = int(b)
    self.result = a + b


@step(r'the result should be (\d+)')
def check_result(self, value):
    value = int(value)
    self.assertEqual(self.result, value)


@step(r'I add x = (?P<x>\d+) and y = (?P<y>\d+) -> (?P<result_name>\w+)')
def add_keywords(self, y, x, result_name):
    y = int(y)
    x = int(x)
    setattr(self, result_name, x + y)


@step(r'I check (?P<result_name>\w+) == (?P<value>\d+)')
def check_result_keyword(self, value, result_name):
    value = int(value)
    self.assertEqual(getattr(self, result_name), value)

@@ -63,20 +63,20 @@
 def add(
-self
+test
 , a, b):
@@ -110,20 +110,20 @@
 (b)%0A    
-self
+test
 .result 
@@ -186,20 +186,20 @@
 _result(
-self
+test
 , value)
@@ -219,36 +219,36 @@
  int(value)%0A    
-self
+test
 .assertEqual(sel
@@ -244,20 +244,20 @@
 rtEqual(
-self
+test
 .result,
@@ -357,20 +357,20 @@
 eywords(
-self
+test
 , y, x, 
@@ -421,28 +421,28 @@
     setattr(
-self
+test
 , result_nam
@@ -535,20 +535,20 @@
 keyword(
-self
+test
 , value,
@@ -589,20 +589,20 @@
 ue)%0A    
-self
+test
 .assertE
@@ -618,12 +618,12 @@
 ttr(
-self
+test
 , re

Update step style.