import binwalk
from nose.tools import ok_, eq_
from os.path import dirname

def test_hello_world_simple_scan():
    scan_result = binwalk.scan(dirname(__file__)+'/input-vectors/hello-world.ihex', signature=True,quiet=True)
    ok_(scan_result != [])
    eq_(len(scan_result), 1)
    eq_(scan_result[0].results[0].description, 'Intel HEX data, record type: data')

@@ -1,12 +1,41 @@
+from os.path import dirname%0A%0A
 import binwa
@@ -64,44 +64,17 @@
 ort 
-ok_, eq_%0Afrom os.path import dirname
+eq_, ok_%0A
 %0A%0Ade
@@ -107,16 +107,204 @@
 scan():%0A
+    '''%0A    Test: Open hello-world ihex, scan for signatures%0A    verify that only one signature is returned%0A    verify that the only signature returned is Intel HEX data-signature%0A    '''%0A
     scan
@@ -326,16 +326,25 @@
 lk.scan(
+%0A        
 dirname(
@@ -356,9 +356,11 @@
 e__)
-+
+ + 
 '/in
@@ -389,16 +389,24 @@
 d.ihex',
+%0A       
  signatu
@@ -413,16 +413,25 @@
 re=True,
+%0A        
 quiet=Tr
@@ -536,16 +536,24 @@
 ription,
+%0A       
  'Intel 

Use flake8-formatting