Example #1
0
	def setUp(self):

		# create & init objects
		self.homePage_one = homeLink(HOMEPAGE_ONE)
		self.homePage_two = homeLink(HOMEPAGE_TWO)
		self.subPage = pageLink(SUBPAGE, SUBTAGS)
		self.stData = storeData()
Example #2
0
import sys

from pageLink import pageLink
from homeLink import homeLink
from storeData import storeData
from storeData import storeData

stData = storeData()
homeL = homeLink("http://www.google.com")
pageL = pageLink("http://www.google.com/avengers", ['python', 'C++'])


def main():

    stData.addPage("http://www.google.com/avengers", ['jello', 'python'])
    print stData.getSearchData()
    homeL = stData.getLink("http://www.google.com/")
    print homeL.getPageLinks()
    pass


if __name__ == '__main__':
    main()
Example #3
0
import sys


from pageLink import pageLink
from homeLink import homeLink
from storeData import storeData
from storeData import storeData

stData = storeData()
homeL = homeLink("http://www.google.com")
pageL = pageLink("http://www.google.com/avengers", ['python', 'C++'])
		
def main():

	stData.addPage("http://www.google.com/avengers", ['jello', 'python'])
	print stData.getSearchData()
	homeL = stData.getLink("http://www.google.com/")
	print homeL.getPageLinks()
	pass

if __name__ == '__main__':
	main()
Example #4
0
	def __init__(self):

		self.storeData = storeData()
		self.homeLinks = []
		self.generatePages()