Remove `basename` parameter from assertions.
Merge pull request #1471 from rhattersley/remove-basename

Remove `basename` parameter from assertions.