def test_match_filter(self):
    cmd = LsCommand(self.ctx, match=['labels.type=package'])
    with captured_output() as (out, _):
        cmd.run()
    output = out.getvalue().strip()
    self.assertEqual(output, 'pkg@0.1.0')
def test_match_filter(self):
    cmd = LsCommand(self.ctx, match=['labels.type=package'])
    with captured_output() as (out, _):
        cmd.run()
    output = out.getvalue().strip()
    self.assertEqual(output, 'pkg@0.1.0')