27d28b8eef
The default encoding for source files is UTF-8 since Python 3, so we can drop all encoding headers. While we are at it, just replace them with SPDX headers.
19 lines
480 B
Python
19 lines
480 B
Python
# SPDX-License-Identifier: MIT
|
|
# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
|
|
# Copyright (C) 2012-2014 Bastian Kleineidam
|
|
# Copyright (C) 2015-2019 Tobias Gruetzmacher
|
|
import responses
|
|
|
|
from dosagelib import scraper
|
|
|
|
|
|
class ATestScraper(scraper._BasicScraper):
|
|
pass
|
|
|
|
|
|
class TestVote(object):
|
|
@responses.activate
|
|
def test_vote(self):
|
|
responses.add(responses.POST, 'https://buildbox.23.gs/count/', '')
|
|
|
|
ATestScraper('Test_Test').vote()
|