-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #391 from nofusscomputing/software-os-installation…
…s-endpoints
- Loading branch information
Showing
15 changed files
with
1,915 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
|
||
from django.test import TestCase | ||
|
||
|
||
|
||
class ViewSetAttributesUnit: | ||
""" Unit Tests For View Set attributes. | ||
These tests ensure that View sets contian the required attributesthat are | ||
used by the API . | ||
""" | ||
|
||
|
||
def test_attribute_exists_page_layout(self): | ||
"""Attrribute Test, Exists | ||
Ensure attribute `page_layout` exists | ||
""" | ||
|
||
pass | ||
|
||
|
||
def test_attribute_type_page_layout(self): | ||
"""Attrribute Test, Type | ||
Ensure attribute `page_layout` is of type `list` | ||
""" | ||
|
||
pass | ||
|
||
|
||
def test_attribute_not_callable_page_layout(self): | ||
"""Attrribute Test, Not Callable | ||
Attribute must be a property | ||
Ensure attribute `page_layout` is not callable. | ||
""" | ||
|
||
pass | ||
|
||
# other tests required | ||
# - filterset_fields | ||
# - metadata_class | ||
# - search_fields | ||
# - documentation | ||
# - model_documentation or is in `model.documentation` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.