Modular structure for behave tests
<p>Right now I have the following directory of test features:</p>

<pre><code>Tests/
--BehaveTest1/
----BehaveTest1.feature
----steps/
------test_steps.py
--BehaveTest2/
----BehaveTest2.feature
----steps/
------test_steps.py
</code></pre>

<p>As the test steps for BehaveTest1 and BehaveTest2 are common, I'd like to implement a common module that could be called by both test cases when they need to. At the moment I have made a common/ directory inside the Tests/ folder and import it (inside the test_steps.py files for each test feature) by:</p>

<pre><code>import sys, os
sys.path.append('../common')
import common
</code></pre>

<p>But I do not want to mess with the path so I was wondering if there are any better ways to do this with the structure of behave test features?</p>