2020-04-18 13:45:44 +02:00
|
|
|
# SPDX-License-Identifier: MIT
|
2016-10-29 00:21:41 +02:00
|
|
|
# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
|
2016-05-21 01:18:42 +02:00
|
|
|
# Copyright (C) 2012-2014 Bastian Kleineidam
|
2019-12-01 22:36:49 +01:00
|
|
|
# Copyright (C) 2015-2019 Tobias Gruetzmacher
|
2017-10-13 00:34:37 +02:00
|
|
|
import responses
|
|
|
|
|
2013-04-09 19:33:50 +02:00
|
|
|
from dosagelib import scraper
|
|
|
|
|
|
|
|
|
|
|
|
class ATestScraper(scraper._BasicScraper):
|
2016-05-21 01:18:42 +02:00
|
|
|
pass
|
2013-04-09 19:33:50 +02:00
|
|
|
|
2016-03-07 01:08:57 +01:00
|
|
|
|
|
|
|
class TestVote(object):
|
2017-10-13 00:34:37 +02:00
|
|
|
@responses.activate
|
2013-04-09 19:33:50 +02:00
|
|
|
def test_vote(self):
|
2019-12-01 22:36:49 +01:00
|
|
|
responses.add(responses.POST, 'https://buildbox.23.gs/count/', '')
|
|
|
|
|
2019-11-03 20:44:07 +01:00
|
|
|
ATestScraper('Test_Test').vote()
|