@@ -0,0 +1,1446 @@
+import npc%0Aimport pytest%0Aimport os%0A%0A@pytest.fixture%0Adef characters(campaign, prefs):%0A    os.mkdir(prefs.get('paths.characters'))%0A    return campaign%0A%0A@pytest.fixture(params=%5B'human', 'fetch', 'goblin'%5D)%0Adef commandline(request):%0A    return %5B'g', 'testmann', request.param, '-g', 'fork', 'spoon'%5D%0A%0Adef test_missing_template(parser, prefs, campaign):%0A    args = parser.parse_args(%5B'g', 'noname', 'notfound'%5D)%0A    result = npc.commands.create_simple(args, prefs)%0A    assert not result.success%0A    assert result.errcode == 7%0A%0Adef test_creates_character(parser, prefs, characters, commandline):%0A    args = parser.parse_args(commandline)%0A    result = npc.commands.create_simple(args, prefs)%0A    assert result.success%0A    character = characters.join(prefs.get('paths.characters'), 'testmann.nwod')%0A    assert character.check()%0A%0Adef test_duplicate_character(parser, prefs, characters, commandline):%0A    args = parser.parse_args(commandline)%0A    npc.commands.create_simple(args, prefs)%0A    result = npc.commands.create_simple(args, prefs)%0A    assert not result.success%0A    assert result.errcode == 1%0A%0Adef test_adds_group_tags(parser, prefs, characters, commandline):%0A    args = parser.parse_args(commandline)%0A    npc.commands.create_simple(args, prefs)%0A    character = characters.join(prefs.get('paths.characters'), 'testmann.nwod')%0A    data = next(c for c in npc.parser.get_characters(%5Bstr(character)%5D, %5B%5D))%0A    assert data%5B'group'%5D == %5B'fork', 'spoon'%5D%0A

Add tests for simple char creation