dosage/tests/test_vote.py

20 lines
479 B
Python
Raw Permalink Normal View History

# SPDX-License-Identifier: MIT
2016-10-28 22:21:41 +00:00
# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
# Copyright (C) 2012-2014 Bastian Kleineidam
# Copyright (C) 2015-2022 Tobias Gruetzmacher
import responses
2013-04-09 17:33:50 +00:00
from dosagelib import scraper
class ATestScraper(scraper.BasicScraper):
pass
2013-04-09 17:33:50 +00:00
class TestVote(object):
@responses.activate
2013-04-09 17:33:50 +00:00
def test_vote(self):
responses.add(responses.POST, 'https://buildbox.23.gs/count/', '')
ATestScraper('Test_Test').vote()