Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
version & new schema change for 2.5
  • Loading branch information
JieXiong9119 committed Sep 29, 2023
1 parent f6fe4d0 commit ccf2a11
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Version 0.3.0.alpha.0
# Version 0.3.0

* Generated for BuildingSync 2.5 (which is currently develop-v2)
* Added GHG emission metrics
Expand Down
6 changes: 3 additions & 3 deletions bsyncpy/bsync.py
Original file line number Diff line number Diff line change
Expand Up @@ -3208,7 +3208,7 @@ class AuditorQualificationType(BSElement):
"Associate Commissioning Professional (ACP)",
"Associated Air Balance Council (AABC) Certified Member Agency",
"Associated Air Balance Council (AABC) Test and Balance Technician",
"Association of Energy Engineers Certified Building Commissioning Firm Program (CBCF)",
"Association of Energy Engineers Certified Building Commissioning Firm (CBCF)",
"Association of Energy Engineers Certified Building Commissioning Professional (CBCP)",
"Association of Energy Engineers Certified Building Energy Simulation Analyst (BESA)",
"Association of Energy Engineers Certified Business Energy Professional (BEP)",
Expand Down Expand Up @@ -3260,8 +3260,8 @@ class AuditorQualificationType(BSElement):
"International Facility Management Association (IFMA) Facility Management Professional (FMP)",
"International Facility Management Association (IFMA) Sustainability Facility Professional (SFP)",
"International Union of Operating Engineers Certified Energy Specialist",
"MEP Professional Engineer",
"NYSERDA FlexTech Consultant",
"Mechanical, Electrical and Plumbing (MEP) Professional Engineer (PE)",
"New York State Energy Research and Development Authority (NYSERDA) FlexTech Consultant",
"National Environmental Balancing Bureau (NEBB) Building Systems Commissioning (BSC)",
"National Environmental Balancing Bureau (NEBB) Commissioning Process Professional (CxPP)",
"Northwest Energy Education Institute Energy Management Certification",
Expand Down
4 changes: 2 additions & 2 deletions tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def test_writefile():

# Create a root and set the version attribute
root = bsync.BuildingSync()
root.set("version", "2.4.0")
root.set("version", "2.5.0")

# Valid element attributes can also be passed in as kwargs
f = bsync.Facilities(bsync.Facilities.Facility(ID="Facility-42"))
Expand All @@ -32,7 +32,7 @@ def test_writefile():
assert os.path.exists("output.xml") == True

with open("output.xml") as f:
if '<BuildingSync version="2.4.0">' in f.read():
if '<BuildingSync version="2.5.0">' in f.read():
assert True
else:
assert False, "Could not find correct BuildingSync version in file"

0 comments on commit ccf2a11

Please sign in to comment.