#1566 `tests/__init__.py` calls `pagure.lib.model.drop_tables`, which doesn't exist
Closed: Fixed 7 years ago Opened 7 years ago by adamwill.

In the course of working on #1565, I found one pylint no-member error which is entirely valid. The tearDown function in tests/__init__.py has this line:

            pagure.lib.model.drop_tables(DB_PATH, self.session.bind)

there is no drop_tables function in pagure.lib.model.

This probably hadn't been noticed as no-one's using a local pgsql database when running tests, I guess.


I'd be in favor of just dropping these lines indeed, not point in keeping them.

@pingou changed the status to Closed

7 years ago

Login to comment on this ticket.

Metadata