# coding: utf-8

"""
    webstatus.dev API

    A tool to monitor and track the status of all Web Platform features across dimensions that are related to availability and implementation quality across browsers, and adoption by web developers. 

    The version of the OpenAPI document: 0.1.0
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


import unittest

from webstatus_openapi.models.feature import Feature

class TestFeature(unittest.TestCase):
    """Feature unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> Feature:
        """Test Feature
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # uncomment below to create an instance of `Feature`
        """
        model = Feature()
        if include_optional:
            return Feature(
                feature_id = '',
                name = '',
                spec = webstatus_openapi.models.feature_spec_info.FeatureSpecInfo(
                    links = [
                        webstatus_openapi.models.spec_link.SpecLink(
                            link = '', )
                        ], ),
                browser_implementations = {
                    'key' : webstatus_openapi.models.browser_implementation.BrowserImplementation(
                        status = 'unavailable', 
                        date = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(), 
                        version = '', )
                    },
                baseline = webstatus_openapi.models.baseline_info.BaselineInfo(
                    status = 'limited', 
                    low_date = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(), 
                    high_date = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(), ),
                usage = webstatus_openapi.models.browser_usage.BrowserUsage(
                    chromium = webstatus_openapi.models.chromium_usage_info.ChromiumUsageInfo(
                        daily = 0.0, ), ),
                wpt = webstatus_openapi.models.feature_wpt_snapshots.FeatureWPTSnapshots(
                    stable = {
                        'key' : webstatus_openapi.models.wpt_feature_data.WPTFeatureData(
                            score = 1.337, 
                            metadata = { }, )
                        }, 
                    experimental = {
                        'key' : webstatus_openapi.models.wpt_feature_data.WPTFeatureData(
                            score = 1.337, )
                        }, )
            )
        else:
            return Feature(
                feature_id = '',
                name = '',
        )
        """

    def testFeature(self):
        """Test Feature"""
        # inst_req_only = self.make_instance(include_optional=False)
        # inst_req_and_optional = self.make_instance(include_optional=True)

if __name__ == '__main__':
    unittest.main()
