summary refs log tree commit diff
path: root/tests/test_state.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-10-08 15:18:19 +0100
committerKegan Dougal <kegan@matrix.org>2014-10-08 15:18:19 +0100
commit72aef114ab1201f5a5cd734220c9ec738c4e2910 (patch)
tree898b411add29a1e6067099ffc6e135b708c91f68 /tests/test_state.py
parentBreak unit test. (diff)
downloadsynapse-72aef114ab1201f5a5cd734220c9ec738c4e2910.tar.xz
Fix unit test.
Diffstat (limited to '')
-rw-r--r--tests/test_state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_state.py b/tests/test_state.py
index c000eedc01..b1624f0b25 100644
--- a/tests/test_state.py
+++ b/tests/test_state.py
@@ -71,7 +71,7 @@ class StateTestCase(unittest.TestCase):
 
         is_new = yield self.state.handle_new_state(new_pdu)
 
-        self.assertFalse(is_new)
+        self.assertTrue(is_new)
 
         self.persistence.get_unresolved_state_tree.assert_called_once_with(
             new_pdu