<filename>tests/test_features.py<gh_stars>1-10
import unittest

from pyrollout.feature import Feature


class TestFeatures(unittest.TestCase):
    def test_feature_creation(self):
        feature = Feature('feature1', groups=['g1'])
        self.assertEqual(feature.name, 'feature1')
        self.assertEqual(feature.groups, ['g1'])

<filename>tests/test_features.py<gh_stars>1-10
import unittest

from pyrollout.feature import Feature


class TestFeatures(unittest.TestCase):
    def test_feature_creation(self):
        feature = Feature('feature1', groups=['g1'])
        self.assertEqual(feature.name, 'feature1')
        self.assertEqual(feature.groups, ['g1'])
