Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)

        asset_file_path = lambda asset_file_name : os.path.join(_test_docs_dir, asset_file_name)
        


src/f/i/FinancialFundamentals-0.3.0/tests/test_xbrl.py   FinancialFundamentals(Download)
    def setUp(self):
        test_filing_path = tests.asset_file_path('aapl-20121229.xml')
        self.xbrl_doc = XBRLDocument.gets_XBRL_locally(file_path=test_filing_path)
 
    def test_duration_context(self):
    def test_document_downloading(self):
        url = 'http://www.sec.gov/Archives/edgar/data/320193/000119312513022339/aapl-20121229.xml'
        test_filing_path = tests.asset_file_path('aapl-20121229.xml')
        with open(test_filing_path) as f:
            test_statement_xml_dict = xmltodict.parse(f.read())

src/f/i/FinancialFundamentals-0.3.0/tests/test_accounting_metrics.py   FinancialFundamentals(Download)
        '''
        sec_value = 135.6
        doc_path = tests.asset_file_path('aapl-20121229.xml')
        xbrl_document = XBRLDocument.gets_XBRL_locally(file_path=doc_path)
        filing = Filing(filing_date=None, document=xbrl_document, next_filing=None)
    def test_GOOG_shareholders_equity(self):
        sec_value = 994.77
        doc_path = tests.asset_file_path('goog-20120630.xml')
        xbrl_document = XBRLDocument.gets_XBRL_locally(file_path=doc_path)
        filing = Filing(filing_date=None, document=xbrl_document, next_filing=None)

src/f/i/financial_fundamentals-HEAD/tests/test_xbrl.py   financial_fundamentals(Download)
    def setUp(self):
        test_filing_path = tests.asset_file_path('aapl-20121229.xml')
        self.xbrl_doc = XBRLDocument.gets_XBRL_locally(file_path=test_filing_path)
 
    def test_duration_context(self):
    def test_document_downloading(self):
        url = 'http://www.sec.gov/Archives/edgar/data/320193/000119312513022339/aapl-20121229.xml'
        test_filing_path = tests.asset_file_path('aapl-20121229.xml')
        with open(test_filing_path) as f:
            test_statement_xml_dict = xmltodict.parse(f.read())

src/f/i/financial_fundamentals-HEAD/tests/test_edgar.py   financial_fundamentals(Download)
 
        '''
        with open(tests.asset_file_path('abbv_search_results.html')) as test_html:
            text.return_value = test_html.read()
 

src/f/i/financial_fundamentals-HEAD/tests/test_accounting_metrics.py   financial_fundamentals(Download)
        '''
        sec_value = 135.6
        doc_path = tests.asset_file_path('aapl-20121229.xml')
        xbrl_document = XBRLDocument.gets_XBRL_locally(file_path=doc_path)
        filing = Filing(filing_date=None, document=xbrl_document, next_filing=None)
    def test_GOOG_shareholders_equity(self):
        sec_value = 994.77
        doc_path = tests.asset_file_path('goog-20120630.xml')
        xbrl_document = XBRLDocument.gets_XBRL_locally(file_path=doc_path)
        filing = Filing(filing_date=None, document=xbrl_document, next_filing=None)

src/f/i/FinancialFundamentals-0.3.0/tests/test_edgar.py   FinancialFundamentals(Download)
 
        '''
        with open(tests.asset_file_path('abbv_search_results.html')) as test_html:
            text.return_value = test_html.read()