def loads(self, requirements_text):
        lines = re.findall(Requirement.spec_regex,
                           requirements_text,
                           re.MULTILINE)
        for line in lines:
            self.add(Requirement(line[0], "".join(line[1:])))
def test_telemetry_finish(runner, live_mock_server, parse_ctx):
    with runner.isolated_filesystem():
        run = wandb.init()
        run.finish()

        ctx_util = parse_ctx(live_mock_server.get_ctx())
        telemetry = ctx_util.telemetry

        assert telemetry and 2 in telemetry.get("3", [])