Skip to content

Commit 5deacd2

Browse files
author
Federico Delgado
committed
- Removed left overs from old testing
- Updated instructions to run tests - Updated versioning information
1 parent 3fa924c commit 5deacd2

File tree

4 files changed

+22
-12
lines changed

4 files changed

+22
-12
lines changed

History.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
0.6.0 / 2017-06-19
2+
==================
3+
* Added: Python 3 compatibility
4+
* Fixed: Non running tests
5+
16
0.5.2 / 2017-02-02
27
==================
38
* Fixed: packaging for Pypi

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,20 @@ ox = ox3apiclient.Client(
121121

122122
ox.logon(email, password)
123123
````
124+
125+
# To run these tests. Install nose (pip install nose)
126+
# and run nosetests -sxv tests/ from the root dir
127+
128+
## Tests
129+
130+
Install nose
131+
132+
````bash
133+
pip install nose
134+
````
135+
136+
and run the following command line from the root:
137+
138+
````bash
139+
nosetests -sxv tests/
140+
````

tests/test_client.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,3 @@ def test_upload_creative(self):
183183
self.assertEqual(ret_val, {'key1': 'value1',
184184
'key2': 'value2',
185185
'key3': 'value3'})
186-
187-
188-
if __name__ == '__main__':
189-
# To run these tests. Install nose (pip install nose)
190-
# and run nosetests -sxv tests/ from the root dir
191-
unittest.main()

tests/test_clientfromfile.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,3 @@ def test_loads_optional_options(self):
9090
loaded_values.sort()
9191

9292
self.assertEqual(loaded_values, test_values)
93-
94-
95-
if __name__ == '__main__':
96-
# To run these tests. Install nose (pip install nose)
97-
# and run nosetests -sxv tests/ from the root dir
98-
unittest.main()

0 commit comments

Comments
 (0)