Replace use of mock with unittest.mock
tests/test_{argparse,cli}.py: Replace the use of mock with unittest.mock.
Due to an influx of spam, we have had to temporarily disable account registrations. Please write an email to accountsupport@archlinux.org, with your desired username, if you want to get access. Sorry for the inconvenience.
tests/test_{argparse,cli}.py: Replace the use of mock with unittest.mock.