def METHOD_NAME(self):
    path = _get_path("doesnotexist.txt")
    with self.assertRaises(RuntimeError) as ctx:
        MBTilesSource(path)
    error = "The file does not exist: {}".format(path)
    self.assertTrue(error in str(ctx.exception))