| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import os |
| 6 |
| 5 from testing_utils import testing | 7 from testing_utils import testing |
| 6 | 8 |
| 7 from handlers import index | |
| 8 | 9 |
| 9 | 10 class FinditTestCase(testing.AppengineTestCase): |
| 10 class TestIndex(testing.AppengineTestCase): | 11 # Setup the customized queues. |
| 11 def test_filter_none(self): | 12 taskqueue_stub_root_path = os.path.join( |
| 12 self.assertEqual([1, 2], index.filterNone([1, None, 2])) | 13 os.path.dirname(__file__), os.path.pardir) |
| OLD | NEW |