Skip to content

Commit feabeaf

Browse files
committed
readme
1 parent f16e62b commit feabeaf

9 files changed

Lines changed: 10 additions & 6 deletions

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ source venv/bin/activate
6565
```shell
6666
pip install -r requirements.txt
6767
```
68+
* last step : go to tests directory if you want to run test
69+
```shell
70+
cd tests
71+
```
6872

6973
## Usage
7074

File renamed without changes.
File renamed without changes.

doc_test.py renamed to tests/doc_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ def multiply(x, y):
3131
>>> multiply(2, 'reza')
3232
'rezareza'
3333
"""
34-
return x * y
34+
return x * y

test_nose.py renamed to tests/test_nose.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import sample_func
1+
from models import sample_func
22

33

44
def test_add():
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import pytest
2-
import sample_func
2+
from models import sample_func
33

44

55
def test_add():
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import pytest
44

5-
from person import Person
5+
from models.person import Person
66

77

88
class TestPerson:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import unittest
22

3-
from sample_func import add, subtract, multiply, division
3+
from models.sample_func import add, subtract, multiply, division
44

55

66
class TestOne(unittest.TestCase):
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import unittest
22

3-
from person import Person
3+
from models.person import Person
44

55

66
class TestPerson(unittest.TestCase):

0 commit comments

Comments
 (0)