mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Test with travis fix
This commit is contained in:
parent
5fb65175f5
commit
56ff8faacb
1 changed files with 2 additions and 1 deletions
|
|
@ -92,7 +92,8 @@ class TestDefaultGuest(EvenniaTest):
|
|||
@patch("evennia.accounts.accounts.ChannelDB.objects.get_channel")
|
||||
def test_create(self, get_channel):
|
||||
get_channel.connect = MagicMock(return_value=True)
|
||||
account, errors = DefaultGuest.create()
|
||||
with override_settings(GUEST_HOME=self.room1.dbref):
|
||||
account, errors = DefaultGuest.create()
|
||||
self.assertTrue(account, "Guest account should have been created.")
|
||||
self.assertFalse(errors)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue