mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 20:27:54 +00:00
Update py_scripts to be in line with pip standards
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -17,9 +17,7 @@ if 'py-json' not in sys.path:
|
||||
sys.path.append('../py-json')
|
||||
from LANforge import LFUtils
|
||||
from LANforge.LFUtils import *
|
||||
import realm
|
||||
from realm import Realm
|
||||
from realm import PortUtils
|
||||
from realm import Realm, PortUtils
|
||||
|
||||
from lf_report import *
|
||||
from lf_graph import *
|
||||
@@ -44,7 +42,7 @@ class HttpDownload(Realm):
|
||||
self.debug = _debug_on
|
||||
print(bands)
|
||||
|
||||
self.local_realm = realm.Realm(lfclient_host=self.host, lfclient_port=self.port)
|
||||
self.local_realm = Realm(lfclient_host=self.host, lfclient_port=self.port)
|
||||
self.station_profile = self.local_realm.new_station_profile()
|
||||
self.http_profile = self.local_realm.new_http_profile()
|
||||
self.http_profile.requests_per_ten = self.target_per_ten
|
||||
|
||||
Reference in New Issue
Block a user