Mariusz Felisiak
6b399f1193
Fixed test_one_to_one_with_inheritance. Added required on_delete attribute to OneToOneField field. ( #4838 )
2017-01-24 09:56:46 +00:00
Mariusz Felisiak
5c0f9f147c
Removed unnecessary utc wrapper. ( #4839 )
2017-01-23 16:22:32 +00:00
Artem Muterko
247954d497
Add tests for BasicAuthentication and TokenAuthentication ( #4837 )
...
* Add tests for BasicAuthentication
* Add tests for Token authentication
* Adjust test to pass on Django 1.8
2017-01-23 15:08:59 +00:00
José Padilla
d686b2cb15
Merge pull request #4834 from auvipy/slug
...
converted test asserts of relations slug to pytest
2017-01-20 15:42:20 -05:00
Asif Saifuddin Auvi
d2ae41529c
fix wrong assert
2017-01-21 02:25:36 +06:00
Asif Saifuddin Auvi
63d8dc0b9b
converted test asserts of relations slug to pytest
2017-01-21 02:14:33 +06:00
Artem Muterko
8043ff3fef
Add test for urlquote_wrapper ( #4832 )
2017-01-20 20:09:47 +00:00
Asif Saifuddin Auvi
1ef334875f
converted test asserts of hyperlin relations to pytest
2017-01-21 01:41:45 +06:00
Artem Muterko
0186b073bf
Refactor router tests to pytest style
2017-01-19 18:00:07 +02:00
Artem Muterko
c2ce2fb3f0
Add tests for BaseContentNegotiation
2017-01-19 12:50:17 +02:00
Artem Muterko
076ca6e765
Add test for filter_renderers
2017-01-19 12:43:18 +02:00
Artem Muterko
46210205a4
Add tests for some template tags ( #4815 )
2017-01-18 20:41:32 +00:00
Artem Muterko
a8534baa41
Add remaining tests for validators ( #4827 )
2017-01-18 20:39:20 +00:00
Xavier Ordoquy
5e9249f429
Merge pull request #4824 from auvipy/newv
...
new matrix for python 3.6 and django 1.11
2017-01-18 17:24:44 +01:00
Asif Saifuddin Auvi
026a8d8707
make lint happy with isort --recursive
2017-01-18 22:15:44 +06:00
Asif Saifuddin Auvi
006ae46092
remove trailing comma
2017-01-18 21:40:07 +06:00
Asif Saifuddin Auvi
326e09dde9
added utc compat to tests of fields
2017-01-18 20:01:18 +06:00
Artem Muterko
0a496a423d
Add tests for qs_exists ( #4822 )
2017-01-18 11:46:12 +00:00
Artem Muterko
06a5bcc88e
Add mediatype tests ( #4813 )
2017-01-16 18:17:51 +00:00
Artem Muterko
e965270f51
Template html renderer tests ( #4817 )
2017-01-16 18:16:43 +00:00
Artem Muterko
41ac3565de
Add test for delete field ( #4819 )
...
* Add test for delete field
* Remove unused import
2017-01-16 13:46:32 +00:00
Artem Muterko
514b5a6dd1
Add couple of test for AuthToken ( #4816 )
...
* Add couple of test for AuthToken
* PEP8 cleanup
2017-01-15 08:41:47 +00:00
José Padilla
5efbe17a86
Merge pull request #4808 from micgeronimo/pytest-cleanup
...
Refactor some tests to pytest style
2017-01-14 08:08:02 -05:00
Artem Muterko
ebd840c19f
Revert several tests
2017-01-12 22:53:01 +02:00
Artem Muterko
c686749eef
Throttle tests fix ( #4810 )
2017-01-12 17:53:48 +00:00
Artem Muterko
b4a9a1b9a3
Throttle tests ( #4807 )
2017-01-12 17:03:32 +00:00
Artem Muterko
9a6352789e
Refactor request tests style
2017-01-12 18:41:27 +02:00
Artem Muterko
bd86104861
Refactor reverse tests style
2017-01-12 18:41:16 +02:00
Artem Muterko
401ab54275
Refactor schemas tests style
2017-01-12 18:33:24 +02:00
Asif Saifuddin Auvi
8fcb8d6350
converted metadata test asserts to pytest ( #4806 )
2017-01-12 08:21:15 +00:00
Artem Muterko
dd11bd42a2
Add remaining tests for SimpleRateThrottle ( #4803 )
2017-01-11 20:39:48 +00:00
Asif Saifuddin Auvi
14baf7eb7a
converted serializer bulk update test asserts to pytest ( #4805 )
2017-01-11 20:38:32 +00:00
Artem Muterko
06afe6b1bf
Convert tests to pytest style
2017-01-11 21:13:30 +02:00
Artem Muterko
66ffaaf5d3
Add more tests for Base and SimpleRate throttles ( #4802 )
2017-01-11 09:42:25 +00:00
Artem Muterko
e9d371f29a
Add couple of basic tests for SimpleRateThrottle ( #4800 )
2017-01-09 20:43:54 +00:00
Artem Muterko
b6b2c4bb5b
Renderer tests ( #4791 )
2017-01-08 16:33:43 +00:00
Artem Muterko
99d57df990
Convert encoders tests to pytest style ( #4796 )
2017-01-08 16:10:47 +00:00
Artem Muterko
a5fcf10c0e
Raise RuntimeError when trying to encode coreapi objects ( #4790 )
2017-01-06 22:32:13 +00:00
José Padilla
559a0a89fc
Merge pull request #4779 from auvipy/pyts0
...
converted throttling tests asserts to pytest
2017-01-04 10:31:44 -05:00
Asif Saifuddin Auvi
88a910ebc8
converted negotiation tests asserts to pytest
2017-01-04 18:58:01 +06:00
Asif Saifuddin Auvi
6ca7f76c67
Merge branch 'master' into pyts0
2017-01-04 18:43:55 +06:00
Asif Saifuddin Auvi
43677b8baf
flake8 fix
2017-01-04 17:54:14 +06:00
Asif Saifuddin Auvi
8fa5846e51
conerted multi-table-inheritence test asserts to pytest
2017-01-04 17:46:55 +06:00
Asif Saifuddin Auvi
a7d33f4519
conerted throttling tests asserts to pytest
2017-01-04 15:59:21 +06:00
Asif Saifuddin Auvi
7874bcabe9
convert some more test asserts to pytest ( #4778 )
...
* converted urlpatterns test asserts to pytest
* converted test utils asserts to pytest
* removed extra newlines
2017-01-04 09:13:32 +00:00
Ryan P Kilby
11fd3bf108
Add disabling of declared fields on serializer subclasses ( #4764 )
...
* Add test for disabling declared fields on child
* Check that declared base field is not in attrs
* Update meta inheritance docs to include serializer
* Test that meta fields cannot be declared as None
* Add docs example for declarative field disabling
2017-01-03 21:14:19 +00:00
Matthew Medal
93fe531dea
Breadcrumb view name suffix fix ( #4750 )
...
* add failing testcase for breadcrumb suffixes missing when using ModelViewSets
* fix get_breadcrumbs to honor overridden get_view_name and keep viewset suffixes
* ensure suffixes are appended in breadcrumb util
2016-12-20 22:19:00 +00:00
Asif Saifuddin Auvi
841a91e950
fix authentication_test pytest failure
2016-12-06 00:47:58 +06:00
Asif Saifuddin Auvi
85807e1958
converted authentication_test asserts to pytest
2016-12-06 00:33:13 +06:00
Asif Saifuddin Auvi
932d04a4be
Browsable API tests asserts to pytest ( #4725 )
2016-12-01 16:17:36 +00:00