Skip to content

Commit

Permalink
test-lib: make :dirac-root env setting implicit
Browse files Browse the repository at this point in the history
  • Loading branch information
darwin committed Dec 20, 2018
1 parent eb44603 commit e8c3f2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@

:cljsbuild {:builds {}} ; prevent https://github.com/emezeske/lein-cljsbuild/issues/413

:env {:dirac-root ~(System/getProperty "user.dir")}

:profiles {:lib
^{:pom-scope :provided} ; ! to overcome default jar/pom behaviour, our :dependencies replacement would be ignored for some reason
[:nuke-aliases
Expand Down
3 changes: 2 additions & 1 deletion test/src/test_lib/dirac/test_lib/chrome_driver.clj
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@
(defn prepare-options
([] (prepare-options false))
([attaching?]
(let [defaults {:dirac-host-os (System/getProperty "os.name")
(let [defaults {:dirac-root (System/getProperty "user.dir")
:dirac-host-os (System/getProperty "os.name")
:dirac-chrome-driver-browser-log-level "SEVERE"}
env-settings (select-keys env known-env-options)
overrides {:attaching? attaching?}]
Expand Down

0 comments on commit e8c3f2f

Please sign in to comment.