security-validation branch
pmart123 opened this issue · 0 comments
pmart123 commented
Error in running feature tests, not recognizing name
Branch:
https://github.com/pmart123/security_id/tree/security-validation
(root)Philips-MacBook-Pro-2:features pmartin$ behave
Exception KeyError: "'__name__' not in globals"
Traceback (most recent call last):
File "/Users/pmartin/anaconda/bin/behave", line 11, in <module>
sys.exit(main())
File "/Users/pmartin/anaconda/lib/python3.4/site-packages/behave/__main__.py", line 109, in main
failed = runner.run()
File "/Users/pmartin/anaconda/lib/python3.4/site-packages/behave/runner.py", line 672, in run
return self.run_with_paths()
File "/Users/pmartin/anaconda/lib/python3.4/site-packages/behave/runner.py", line 678, in run_with_paths
self.load_step_definitions()
File "/Users/pmartin/anaconda/lib/python3.4/site-packages/behave/runner.py", line 658, in load_step_definitions
exec_file(os.path.join(path, name), step_module_globals)
File "/Users/pmartin/anaconda/lib/python3.4/site-packages/behave/runner.py", line 304, in exec_file
exec(code, globals, locals)
File "steps/steps.py", line 4, in <module>
from ... import security_id
KeyError: "'__name__' not in globals"