Skip to content

Commit 600cccd

Browse files
committed
Rename test_tuple to test_collections + add TestDictObject
- Renamed tests/test_tuple.py to tests/test_collections.py - Added new test `TestDictObject` to test `DictObject` - Removed docs for test_tuple and created docs for test_collections
1 parent fa1f4db commit 600cccd

File tree

38 files changed

+176
-33
lines changed

38 files changed

+176
-33
lines changed

docs/source/helpers/tests.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ Unit Test List / Overview
1212
tests.base
1313
tests.test_bool
1414
tests.test_cache
15+
tests.test_collections
1516
tests.test_crypto
1617
tests.test_general
1718
tests.test_parse
1819
tests.test_rdns
19-
tests.test_tuple
2020
tests.test_net
2121

2222

Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
example\_items
22
==============
33

4-
.. currentmodule:: tests.test_tuple
4+
.. currentmodule:: tests.test_collections
55

66
.. autoattribute:: TestDictableNamedtuple.example_items
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
setUp
22
=====
33

4-
.. currentmodule:: tests.test_tuple
4+
.. currentmodule:: tests.test_collections
55

66
.. automethod:: TestDictableNamedtuple.setUp
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
test\_asdict
22
============
33

4-
.. currentmodule:: tests.test_tuple
4+
.. currentmodule:: tests.test_collections
55

66
.. automethod:: TestDictableNamedtuple.test_asdict
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
test\_convert
2+
=============
3+
4+
.. currentmodule:: tests.test_collections
5+
6+
.. automethod:: TestDictableNamedtuple.test_convert
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
test\_dict\_cast
22
================
33

4-
.. currentmodule:: tests.test_tuple
4+
.. currentmodule:: tests.test_collections
55

66
.. automethod:: TestDictableNamedtuple.test_dict_cast
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
test\_get\_attr
22
===============
33

4-
.. currentmodule:: tests.test_tuple
4+
.. currentmodule:: tests.test_collections
55

66
.. automethod:: TestDictableNamedtuple.test_get_attr
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
test\_get\_index
22
================
33

4-
.. currentmodule:: tests.test_tuple
4+
.. currentmodule:: tests.test_collections
55

66
.. automethod:: TestDictableNamedtuple.test_get_index
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
test\_get\_item
22
===============
33

4-
.. currentmodule:: tests.test_tuple
4+
.. currentmodule:: tests.test_collections
55

66
.. automethod:: TestDictableNamedtuple.test_get_item
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
test\_metadata
22
==============
33

4-
.. currentmodule:: tests.test_tuple
4+
.. currentmodule:: tests.test_collections
55

66
.. automethod:: TestDictableNamedtuple.test_metadata

0 commit comments

Comments
 (0)