@@ -0,0 +1,563 @@
+# coding: utf-8%0Afrom __future__ import absolute_import, unicode_literals%0A%0A%0Adef test_should_register_a_state_machine():%0A    from statemachine import StateMachine, State, registry%0A%0A    class CampaignMachine(StateMachine):%0A        %22A workflow machine%22%0A        draft = State('Draft', initial=True)%0A        producing = State('Being produced')%0A%0A        add_job = draft.to(draft) %7C producing.to(producing)%0A        produce = draft.to(producing)%0A%0A    assert 'CampaignMachine' in registry._REGISTRY%0A    assert registry.get_machine_cls('CampaignMachine') == CampaignMachine%0A

Add registry tests