kopia lustrzana https://github.com/longclawshop/longclaw
13 wiersze
369 B
Python
13 wiersze
369 B
Python
|
from longclaw.tests.utils import LongclawTestCase
|
||
|
|
||
|
class AddressTest(LongclawTestCase):
|
||
|
|
||
|
def test_create_address(self):
|
||
|
data = {
|
||
|
'name': 'Bob Testerson',
|
||
|
'line_1': 'Bobstreet',
|
||
|
'city': 'Bobsville',
|
||
|
'postcode': 'BOB22 2BO',
|
||
|
'country': 'Bobland'
|
||
|
}
|
||
|
self.post_test(data, 'longclaw_address_list')
|