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