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
If you saved your login credentials in the **.splunkrc** file, you can omit those arguments:
142
+
If you saved your login credentials in the **.splunkrc** file, you can omit
143
+
those arguments:
138
144
139
145
python examplename.py
140
146
@@ -144,18 +150,20 @@ To get help for an example, use the `--help` argument with an example:
144
150
145
151
#### Unit tests
146
152
147
-
The Splunk Python SDK contains a collection of unit tests. To run them, open a command prompt in the
148
-
**/splunk-sdk-python** directory and enter:
153
+
The Splunk Python SDK contains a collection of unit tests. To run them, open a
154
+
command prompt in the **/splunk-sdk-python** directory and enter:
149
155
150
156
python setup.py test
151
157
152
-
You can also run individual test files, which are located in **/splunk-sdk-python/tests**. For example,
153
-
to run the apps test, open a command prompt in the **/splunk-sdk-python/tests** subdirectory and enter:
158
+
You can also run individual test files, which are located in
159
+
**/splunk-sdk-python/tests**. For example, to run the apps test, open a command
160
+
prompt in the **/splunk-sdk-python/tests** subdirectory and enter:
154
161
155
162
python test_app.py
156
163
157
-
The test suite uses Python's standard library and the built-in `unittest` library. If you're using Python 2.7,
158
-
you're all set. However, if you are using Python 2.6, you'll also need to install the `unittest2` library to
164
+
The test suite uses Python's standard library and the built-in `unittest`
165
+
library. If you're using Python 2.7, you're all set. However, if you are using
166
+
Python 2.6, you'll also need to install the `unittest2` library to
159
167
get the additional features that were added to Python 2.7.
160
168
161
169
You can read more about our testing framework on
@@ -195,27 +203,35 @@ You can read more about our testing framework on
195
203
### Changelog
196
204
197
205
The **CHANGELOG.md** file in the root of the repository contains a description
198
-
of changes for each version of the SDK. You can also find it online at [https://github.com/splunk/splunk-sdk-python/blob/master/CHANGELOG.md](https://github.com/splunk/splunk-sdk-python/blob/master/CHANGELOG.md).
206
+
of changes for each version of the SDK. You can also find it online at
The **master** branch always represents a stable and released version of the SDK.
203
-
You can read more about our branching model on our Wiki at [https://github.com/splunk/splunk-sdk-python/wiki/Branching-Model](https://github.com/splunk/splunk-sdk-python/wiki/Branching-Model).
212
+
You can read more about our branching model on our Wiki at
0 commit comments