def test_get_data_id(self): browser = Browser(slug='firefox') self.assertEqual(('browsers', 'firefox'), browser.get_data_id())