Revision 26498848 astakosclient/astakosclient/tests.py

b/astakosclient/astakosclient/tests.py
341 341

  
342 342
# ----------------------------
343 343
# Local users
344
token_1 = "skzleaFlBl+fasFdaf24sx=="
344
token_1 = "skzleaFlBl+fasFdaf24sx"
345 345
user_1 = \
346 346
    {"username": "user1@example.com",
347 347
     "auth_token_created": 1359386939000,
......
370 370
          "display_name": "Storage Space",
371 371
          "name": "pithos+.diskspace"}]}
372 372

  
373
token_2 = "fasdfDSFdf98923DF+sdfk=="
373
token_2 = "fasdfDSFdf98923DF+sdfk"
374 374
user_2 = \
375 375
    {"username": "user2@example.com",
376 376
     "auth_token_created": 1358386938997,
......
581 581
    # ----------------------------------
582 582
    # Test the response we get if we send invalid token
583 583
    def _invalid_token(self, pool):
584
        token = "skaksaFlBl+fasFdaf24sx=="
584
        token = "skaksaFlBl+fasFdaf24sx"
585 585
        _mock_request([_request_ok])
586 586
        try:
587 587
            client = AstakosClient("https://example.com", use_pool=pool)
......
737 737
    # ----------------------------------
738 738
    # Test the response we get for invalid token
739 739
    def _invalid_token(self, pool):
740
        token = "skaksaFlBl+fasFdaf24sx=="
740
        token = "skaksaFlBl+fasFdaf24sx"
741 741
        _mock_request([_request_ok])
742 742
        try:
743 743
            client = AstakosClient("https://example.com", use_pool=pool)
......
824 824
    def test_invalid_token(self):
825 825
        """Test the response we get for invalid token (without pool)"""
826 826
        global user_1
827
        token = "skaksaFlBl+fasFdaf24sx=="
827
        token = "skaksaFlBl+fasFdaf24sx"
828 828
        _mock_request([_request_ok])
829 829
        try:
830 830
            client = AstakosClient("https://example.com")
......
889 889
    def test_invalid_token(self):
890 890
        """Test the response we get for invalid token (using pool)"""
891 891
        global user_1
892
        token = "skaksaFlBl+fasFdaf24sx=="
892
        token = "skaksaFlBl+fasFdaf24sx"
893 893
        _mock_request([_request_ok])
894 894
        try:
895 895
            client = AstakosClient("https://example.com")

Also available in: Unified diff