Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a mechanism to override predefined steps #73

Closed
asyncmind0 opened this issue Jul 19, 2018 · 2 comments
Closed

Provide a mechanism to override predefined steps #73

asyncmind0 opened this issue Jul 19, 2018 · 2 comments

Comments

@asyncmind0
Copy link

I am using steps from a 3rd party library (behave_http)

Now I need to modify the behaviour of these steps specifically for my project

So in my steps I need a way to override the steps defined in the library.

Currently it errors out with an exception about duplicate step definition

@ggozad
Copy link
Owner

ggozad commented Jul 19, 2018

Can't you just selectively import the steps you need, i.e. not import behaving.web?

@asyncmind0
Copy link
Author

I use other steps from behaving.web, and loading the module would register the steps because of decorator ?

@ggozad ggozad closed this as completed Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants