You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then, to make local package in `auto-generated-sdk` accessible to the tests, you have to build and register them in pip
56
55
57
56
```sh
57
+
cd auto-generated-sdk/
58
+
python setup.py sdist
59
+
pip install .
60
+
```
61
+
62
+
Next, install dependencies that the tests directory needs.
63
+
64
+
```sh
65
+
cd tests/
58
66
pip install -r requirements.txt
59
67
```
60
68
@@ -71,6 +79,15 @@ Run the tests with below command.
71
79
python -m test
72
80
```
73
81
82
+
**note when checking out different branches, you will have to re-install the auto-generated-sdk directory before running tests again
83
+
```sh
84
+
cd auto-generated-sdk/
85
+
pip list # to view what version of fds.analyticsapi.engines is installed
86
+
pip uninstall fds.analyticsapi.engines <version>
87
+
python setup.py sdist
88
+
pip install .
89
+
```
90
+
74
91
## Contributing
75
92
76
93
* Files in [auto-generated-sdk](auto-generated-sdk) directory are auto-generated and should not be manually edited here. Refer [Analytics API Engines SDK Generator](https://github.com/factset/analyticsapi-engines-sdk-generator) for instructions on how to modify these files.
0 commit comments