Skip to content

Commit

Permalink
Writing_Tests: Correct import order
Browse files Browse the repository at this point in the history
  • Loading branch information
sils committed Apr 14, 2015
1 parent 3ceb8a9 commit 4f60e07
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions doc/Getting_Involved/Writing_Tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@ import re

Note that you can't import coala components here now.

After that these three lines follow:
After that these lines follow:

```python
import unittest
import sys

sys.path.insert(0, ".")
import unittest
```

These are necessary imports and setups to make tests working properly in the
Expand Down Expand Up @@ -322,9 +323,7 @@ modify it to let it test your stuff and run from the coala root folder

```python
# Import here your needed system components.

import sys
sys.path.insert(0, ".")
import unittest

# Import here your needed coala components.
Expand Down

0 comments on commit 4f60e07

Please sign in to comment.