def test_search_since(self):
        self.dataset.import_data(self.user, self.upload, 0)

        # Import second dataset so we can make sure only one matches 
        second_dataset = Dataset.objects.create(
            name='Second dataset',
            creator=self.dataset.creator)

        second_dataset.import_data(self.user, self.upload, 0)

        sleep(1)
        between_time = now().replace(microsecond=0, tzinfo=None)
        between_time = between_time.isoformat('T') 
        
        # Import second dataset twice, to verify only one is matched
        second_dataset.import_data(self.user, self.upload, 0)

        response = self.client.get('/api/1.0/data/?q=Christopher&since=%s' % between_time, **self.auth_headers)

        self.assertEqual(response.status_code, 200)

        body = json.loads(response.content)

        # Verify that the group count is correct
        self.assertEqual(body['meta']['total_count'], 1)
        self.assertEqual(len(body['objects']), 1)

        # Verify that each matched dataset includes one result
        result_dataset = body['objects'][0]
        self.assertEqual(result_dataset['meta']['total_count'], 1)
        self.assertEqual(len(result_dataset['objects']), 1)
dataset/ETHPy150Open pandaproject/panda/panda/tests/test_api_data.py/TestAPIData.test_search_since/original