From e106c7179512de0d3a09a313fed8211c61e8d63a Mon Sep 17 00:00:00 2001 From: Konsta Vesterinen Date: Thu, 22 Aug 2013 14:15:28 +0300 Subject: [PATCH] More tests added --- tests/batch_fetch/test_compound_fetching.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/batch_fetch/test_compound_fetching.py b/tests/batch_fetch/test_compound_fetching.py index 329e5b0..7d7ce35 100644 --- a/tests/batch_fetch/test_compound_fetching.py +++ b/tests/batch_fetch/test_compound_fetching.py @@ -207,5 +207,7 @@ class TestCompoundManyToOneBatchFetching(TestCase): assert buildings[0].equipment.name == 'E 1' assert buildings[1].equipment.name == 'E 2' + assert not buildings[2].equipment + assert not buildings[1].business_premises assert buildings[2].business_premises[0].equipment.name == 'E 2' assert self.connection.query_count == query_count