Skip to content
This repository was archived by the owner on Nov 2, 2020. It is now read-only.

Commit 56ee229

Browse files
committed
Incoporate reviewer comments
1 parent 30bbd89 commit 56ee229

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

dataparser/data_parser/data_parser.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,6 @@ def _parse_python_lib(self, library, args):
163163
function_name = keyword.name
164164
kw[DBJsonSetting.keyword_file] = self._get_library_kw_source(
165165
libcode, function_name)
166-
# if 'selenium' in str(libcode).lower():
167-
# import pdb; pdb.set_trace() # breakpoint 402cb44b //
168166
kws[strip_and_lower(keyword.name)] = kw
169167
return kws
170168

@@ -209,11 +207,6 @@ def _get_library_kw_source(self, libcode, keyword):
209207
else:
210208
func_file, func = None, None
211209
if func:
212-
# kw_class = self.get_class_that_defined_method(func)
213-
# if kw_class:
214-
# func_file = self.get_function_file(kw_class)
215-
# else:
216-
# func_file = self.get_function_file(func)
217210
return func.__code__.co_filename
218211
return func_file
219212

dataparser/data_queue/scanner.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ def parse_all(self, item):
111111
if data_type in self.rf_data_type:
112112
return self.scan_rf_data(item[0])
113113
elif data_type == DBJsonSetting.library:
114-
# if 'selenium' in item[0].lower():
115-
# import pdb; pdb.set_trace() # breakpoint a2b04478 //
116114
return self.parser.parse_library(item[0], item[1]['args'])
117115
elif data_type == DBJsonSetting.variable_file:
118116
return self.parser.parse_variable_file(item[0], item[1]['args'])

test/run_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import unittest
55
import shutil
66
from robot import run as robot_run
7-
import os
87

98

109
def acceptance_test(options):

0 commit comments

Comments
 (0)