Skip to content

Instantly share code, notes, and snippets.

@ddemid
Created April 25, 2015 08:40
Show Gist options
  • Save ddemid/e511108cab3cff37c4ee to your computer and use it in GitHub Desktop.
Save ddemid/e511108cab3cff37c4ee to your computer and use it in GitHub Desktop.
get_data_mock.return_value = {
'numbers': [
{'number': '123234', 'type': 'Application Number'},
{'number': '324345', 'type': 'Application Filed'},
],
'classes': [
{'number': '004', 'description': 'class'}
],
"contacts": [
{"type": "applicant", "name": "Guilin HBM Healthcares,Inc. ", "email": ""}
],
'basic_info': {
'Text': 'NANO LUBE', 'Application Date': '2014-10-07-04:00', 'Owner': 'Nano Lube, Corp'
},
'status': 'Application has been published for opposition. The opposition period begins on the date of publication.',
'events': [
{'number': None, 'date': '2014-10-07-04:00', 'type': 'application filed'},
{'number': None, 'date': '2015-03-24-04:00', 'type': 'application published'},
{'number': '0', 'date': '2014-10-10-04:00', 'type': 'NEW APPLICATION ENTERED IN TRAM'},
{'number': '0', 'date': '2014-10-14-04:00', 'type': 'NEW APPLICATION OFFICE SUPPLIED DATA ENTERED IN TRAM'},
{'number': '0', 'date': '2014-10-15-04:00', 'type': 'NOTICE OF DESIGN SEARCH CODE E-MAILED'},
{'number': '76505', 'date': '2015-01-26-05:00', 'type': 'ASSIGNED TO EXAMINER'},
{'number': '76505', 'date': '2015-01-26-05:00', 'type': 'EXAMINERS AMENDMENT -WRITTEN'},
{'number': '6328', 'date': '2015-01-26-05:00', 'type': 'EXAMINERS AMENDMENT E-MAILED'},
{'number': '6328', 'date': '2015-01-26-05:00', 'type': 'NOTIFICATION OF EXAMINERS AMENDMENT E-MAILED'},
{'number': '88888', 'date': '2015-01-26-05:00', 'type': "EXAMINER'S AMENDMENT ENTERED"},
{'number': '0', 'date': '2015-01-26-05:00', 'type': 'APPROVED FOR PUB - PRINCIPAL REGISTER'},
{'number': '68171', 'date': '2015-02-13-05:00', 'type': 'ASSIGNED TO LIE'},
{'number': '68171', 'date': '2015-02-13-05:00', 'type': 'LAW OFFICE PUBLICATION REVIEW COMPLETED'},
{'number': '0', 'date': '2015-03-04-05:00', 'type': 'NOTIFICATION OF NOTICE OF PUBLICATION E-MAILED'},
{'number': '0', 'date': '2015-03-24-04:00', 'type': 'PUBLISHED FOR OPPOSITION'},
{'number': '0', 'date': '2015-03-24-04:00', 'type': 'OFFICIAL GAZETTE PUBLICATION CONFIRMATION E-MAILED'}]
}
get_documents_mock.return_value = {
"documents": [
{
"date": "2015-03-24-04:00",
"url": "https://tsdrapi.uspto.gov/ts/cd/casedocs/bundle.pdf?sn=86417416&type=PB3&date=2015-03-24",
"type_code": "PB3", "description": "OG Publication Confirmation",
"filename": "OG Publication Confirmation.pdf", "mime_type": "application/pdf"
},
{
"date": "2015-03-04-05:00",
"url": "https://tsdrapi.uspto.gov/ts/cd/casedocs/bundle.pdf?sn=86417416&type=NOP&date=2015-03-04",
"type_code": "NOP", "description": "Notice of Publication",
"filename": "Notice of Publication.pdf", "mime_type": "application/pdf"
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment