import unittest
from library.TraitFactory import TraitFactory
from library.Action import Action


class test_TraitFactory(unittest.TestCase):

    def test_createRandom(self):
        factory = TraitFactory()
        trait = factory.createRandom()
        print(trait)
        assert factory.defaultActions[0].name == 'MoveUp'

b7b4477d34104873ee48807fe330b906ae7dae92
<mask token>

<mask token>


class test_TraitFactory(unittest.TestCase):
    <mask token>

<mask token>


class test_TraitFactory(unittest.TestCase):

    def test_createRandom(self):
        factory = TraitFactory()
        trait = factory.createRandom()
        print(trait)
        assert factory.defaultActions[0].name == 'MoveUp'

import unittest
from library.TraitFactory import TraitFactory
from library.Action import Action


class test_TraitFactory(unittest.TestCase):

    def test_createRandom(self):
        factory = TraitFactory()
        trait = factory.createRandom()
        print(trait)
        assert factory.defaultActions[0].name == 'MoveUp'
